neovim: Use rust-analyzer instead of rls

This commit is contained in:
Simon Bruder 2021-05-19 15:18:48 +02:00
parent 961b497609
commit b0754833b4
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

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