feat: update neovim config

This commit is contained in:
Felix Schröter 2020-02-13 18:52:52 +01:00 committed by Felix Schroeter
parent b285eea1f8
commit d495be9ca5

View file

@ -19,8 +19,8 @@ let
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "nvim-lsp"; repo = "nvim-lsp";
rev = "bf657b837ee0aad20afd812ea14d73108bb30093"; rev = "7a15a52c0a7d735625ac73dc4d8efe70c5e99707";
sha256 = "192175fkxdki5damxj0z1bna1qdpsc2di4df7i5mzyw2qikj9y0m"; sha256 = "1wpp54gvb90qhgnxmp3fvfc3dbkdxk3q712c7wyd9alpbk4608fk";
}; };
}; };
# coc-omnisharp = buildVimPluginFrom2Nix { # coc-omnisharp = buildVimPluginFrom2Nix {
@ -89,20 +89,27 @@ in
vim-orgmode vim-orgmode
vim-nix vim-nix
# Most coc-* plugins are incomplete in nixpkgs
# Instead they are currently installed manually via :CocInstall
coc-nvim coc-nvim
coc-emmet # coc-pairs
coc-html # coc-emmet
coc-css # coc-snippets
coc-tsserver # coc-highlight
coc-json # coc-html
coc-yaml # coc-css
coc-eslint # coc-tsserver
coc-stylelint # coc-json
# coc-omnisharp # not really maintained # coc-yaml
# coc-eslint
# coc-stylelint
# coc-prettier
# # coc-omnisharp # not really maintained
ale # only used for omnisharp-vim ale # only used for omnisharp-vim
omnisharp-vim omnisharp-vim
]; ];
extraConfig = with builtins; readFile ./init.vim + readFile ./coc.vim; extraConfig = with builtins; readFile ./init.vim + readFile ./coc.vim;
withNodeJs = true;
}; };
} }