feat(neovim): add initial nvim-lsp config (WIP)

This commit is contained in:
Felix Schröter 2020-03-21 17:03:23 +01:00
parent d2db7cd863
commit 4a98a06bed
No known key found for this signature in database
GPG key ID: A12D7C9D2FD34458
2 changed files with 48 additions and 2 deletions

View file

@ -15,7 +15,7 @@ let
};
nvim-lsp = buildVimPluginFrom2Nix {
pname = "nvim-lsp";
version = "master";
version = "2020-03-17";
src = pkgs.fetchFromGitHub {
owner = "neovim";
repo = "nvim-lsp";
@ -71,7 +71,9 @@ in
camelcasemotion
argtextobj-vim
# nvim-lsp # nixos-rebuild currently fails
nvim-lsp
deoplete-nvim
deoplete-lsp
vim-orgmode
vim-nix
@ -98,6 +100,7 @@ in
omnisharp-vim
];
extraConfig = with builtins; readFile ./init.vim + readFile ./coc.vim;
# extraConfig = with builtins; readFile ./init.vim + readFile ./lsp.vim;
withNodeJs = true;
};