forked from pub-solar/os
neovim: use nixd as nix language server
This commit is contained in:
parent
bd91b609b5
commit
9909a2152b
|
@ -25,6 +25,7 @@ in {
|
||||||
ansible-language-server
|
ansible-language-server
|
||||||
ccls
|
ccls
|
||||||
gopls
|
gopls
|
||||||
|
nixd
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages.bash-language-server
|
nodePackages.bash-language-server
|
||||||
nodePackages.dockerfile-language-server-nodejs
|
nodePackages.dockerfile-language-server-nodejs
|
||||||
|
@ -37,9 +38,8 @@ in {
|
||||||
nodePackages.yaml-language-server
|
nodePackages.yaml-language-server
|
||||||
python3Packages.python-lsp-server
|
python3Packages.python-lsp-server
|
||||||
python3Full
|
python3Full
|
||||||
solargraph
|
|
||||||
rnix-lsp
|
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
|
solargraph
|
||||||
terraform-ls
|
terraform-ls
|
||||||
universal-ctags
|
universal-ctags
|
||||||
];
|
];
|
||||||
|
|
|
@ -124,9 +124,9 @@ lua <<EOF
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'nixd', --------------------------------- Nix
|
||||||
'phpactor', ----------------------------- PHP
|
'phpactor', ----------------------------- PHP
|
||||||
'pylsp', -------------------------------- Python
|
'pylsp', -------------------------------- Python
|
||||||
'rnix', --------------------------------- Nix
|
|
||||||
'solargraph', --------------------------- Ruby
|
'solargraph', --------------------------- Ruby
|
||||||
'rust_analyzer', ------------------------ Rust
|
'rust_analyzer', ------------------------ Rust
|
||||||
['sqlls'] = {
|
['sqlls'] = {
|
||||||
|
|
|
@ -3,6 +3,7 @@ channels: final: prev: {
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
(channels.latest)
|
(channels.latest)
|
||||||
|
nixd
|
||||||
;
|
;
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
|
@ -29,6 +30,8 @@ channels: final: prev: {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
vimPlugins = prev.vimPlugins // {inherit (channels.latest.vimPlugins) nvim-lspconfig;};
|
||||||
|
|
||||||
# Example to override node package
|
# Example to override node package
|
||||||
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
|
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue