mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
formatting
This commit is contained in:
parent
b505e98e52
commit
7a5c7c7500
@ -364,7 +364,9 @@ let g:lsp_diagnostics_float_delay = 100
|
|||||||
" set up pyls for vim-lsp
|
" set up pyls for vim-lsp
|
||||||
if executable('pyls')
|
if executable('pyls')
|
||||||
" pip install python-language-server
|
" pip install python-language-server
|
||||||
au User lsp_setup call lsp#register_server({
|
augroup pyls_setup
|
||||||
|
autocmd!
|
||||||
|
autocmd User lsp_setup call lsp#register_server({
|
||||||
\ 'name': 'pyls',
|
\ 'name': 'pyls',
|
||||||
\ 'cmd': {server_info->['pyls']},
|
\ 'cmd': {server_info->['pyls']},
|
||||||
\ 'allowlist': ['python'],
|
\ 'allowlist': ['python'],
|
||||||
@ -377,6 +379,7 @@ if executable('pyls')
|
|||||||
\ }
|
\ }
|
||||||
\ }
|
\ }
|
||||||
\ }})
|
\ }})
|
||||||
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if executable('vim-language-server')
|
if executable('vim-language-server')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user