nicks-nix-config/modules/vim.nix

39 lines
796 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
let
in
{
programs.vim = {
enable = true;
plugins = with pkgs.vimPlugins;
let
moonfly = pkgs.vimUtils.buildVimPlugin {
name = "moonfly";
src = pkgs.fetchFromGitHub {
owner = "bluz71";
repo = "vim-moonfly-colors";
rev = "d51e3ad78654aa479d59adb81a98f179d595bdee";
sha256 = "0uHEB8uNQeGpVWuZfyrVAWTyefJMCitTmNpHmKVFOaQ=";
};
};
in [
vim-airline
vim-airline-themes
moonfly
coc-rust-analyzer
coc-nvim
rust-vim
vim-nix
typescript-vim
vim-javascript
];
defaultEditor = true;
extraConfig = builtins.readFile ../rsrcs/.vimrc;
};
}