Use vim-lsp instead of ale

This commit is contained in:
2021-10-23 15:22:14 +02:00
parent 94788c1147
commit e8d534843d
7 changed files with 59 additions and 22 deletions

View File

@@ -1,4 +1,11 @@
" No spell checking in code file
autocmd BufNewFile,BufRead *.rs setlocal nospell
if executable('rls')
" pip install rust-language-server
au User lsp_setup call lsp#register_server({
\ 'name': 'rls',
\ 'cmd': {server_info->['rls']},
\ 'allowlist': ['rust'],
\ })
endif