vimrc: add augroup for pyls
This commit is contained in:
parent
a85ccd7318
commit
a2c0d7247c
13
.vim/vimrc
13
.vim/vimrc
@ -734,11 +734,14 @@ if executable('zls')
|
||||
endif
|
||||
if executable('pyls')
|
||||
" pip install python-language-server
|
||||
au User lsp_setup call lsp#register_server({
|
||||
\ 'name': 'pyls',
|
||||
\ 'cmd': {server_info->['pyls']},
|
||||
\ 'allowlist': ['python'],
|
||||
\ })
|
||||
augroup lsp_py
|
||||
autocmd!
|
||||
autocmd User lsp_setup call lsp#register_server({
|
||||
\ 'name': 'pyls',
|
||||
\ 'cmd': {server_info->['pyls']},
|
||||
\ 'allowlist': ['python'],
|
||||
\ })
|
||||
augroup END
|
||||
endif
|
||||
if executable('omnisharp')
|
||||
" https://www.rockyourcode.com/use-vim-for-c-sharp-development-on-linux/
|
||||
|
Loading…
Reference in New Issue
Block a user