This commit is contained in:
foosinn 2020-06-11 19:13:58 +02:00
commit 8c98e8bd14
10 changed files with 633 additions and 0 deletions

30
packages/vim.nix Normal file
View file

@ -0,0 +1,30 @@
with import <nixpkgs> {};
vim_configurable.customize {
name = "vim";
vimrcConfig.customRC = ''
set hidden
" langserver
let g:LanguageClient_serverCommands = {
\ 'rust': ['rust-analyzer'],
\ 'python': ['pyls'],
\ }
let g:deoplete#enable_at_startup = 1
'';
vimrcConfig.packages.myVim = with pkgs.vimPlugins; {
start = [
airline
easymotion
fugitive
fzf
LanguageClient-neovim
surround
syntastic
vim-mucomplete
];
};
}