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

@@ -3,3 +3,12 @@ au BufNewFile,BufRead *.py
\ setlocal foldmethod=indent
\ nospell
" register pyls as a language server.
if executable('pyls')
" pip install python-language-server
au User lsp_setup call lsp#register_server({
\ 'name': 'pyls',
\ 'cmd': {server_info->['pyls']},
\ 'allowlist': ['python'],
\ })
endif