neovim: Use rls from nixpkgs

This commit is contained in:
Simon Bruder 2020-12-24 13:23:17 +01:00
parent 9b60e0cfe2
commit 1bc6988225
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -161,7 +161,7 @@ in
plugin = LanguageClient-neovim;
config = ''
let g:LanguageClient_serverCommands = {
\ 'rust': ['rustup', 'run', 'stable', 'rls'],
\ 'rust': ['${pkgs.rls}/bin/rls'],
\ 'go': ['${pkgs.gopls}/bin/gopls'],
\ 'python': ['${pyls}/bin/pyls'],
\ 'typescript': ['${pkgs.nodePackages.javascript-typescript-langserver}/bin/javascript-typescript-stdio'],