neovim: use nixd as nix language server

This commit is contained in:
teutat3s 2023-07-02 02:50:01 +02:00
parent bd91b609b5
commit 9909a2152b
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 6 additions and 3 deletions

View file

@ -25,6 +25,7 @@ in {
ansible-language-server
ccls
gopls
nixd
nodejs
nodePackages.bash-language-server
nodePackages.dockerfile-language-server-nodejs
@ -37,9 +38,8 @@ in {
nodePackages.yaml-language-server
python3Packages.python-lsp-server
python3Full
solargraph
rnix-lsp
rust-analyzer
solargraph
terraform-ls
universal-ctags
];

View file

@ -124,9 +124,9 @@ lua <<EOF
}
}
},
'nixd', --------------------------------- Nix
'phpactor', ----------------------------- PHP
'pylsp', -------------------------------- Python
'rnix', --------------------------------- Nix
'solargraph', --------------------------- Ruby
'rust_analyzer', ------------------------ Rust
['sqlls'] = {

View file

@ -3,6 +3,7 @@ channels: final: prev: {
inherit
(channels.latest)
nixd
;
inherit
@ -29,6 +30,8 @@ channels: final: prev: {
});
});
vimPlugins = prev.vimPlugins // {inherit (channels.latest.vimPlugins) nvim-lspconfig;};
# Example to override node package
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
}