vimrc(pyls): enable rope
This commit is contained in:
parent
62254c7cea
commit
e83a79d12b
@ -1186,7 +1186,7 @@ if executable('pylsp')
|
|||||||
autocmd User lsp_setup call lsp#register_server({
|
autocmd User lsp_setup call lsp#register_server({
|
||||||
\ 'name': 'pyls',
|
\ 'name': 'pyls',
|
||||||
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'pylsp', '-vvv', '--log-file', '/tmp/pyls.log']},
|
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'pylsp', '-vvv', '--log-file', '/tmp/pyls.log']},
|
||||||
\ 'settings': {'pylsp': {'plugins': {'ruff': {'enabled': 'true', 'formatEnabled': 'true',}}}},
|
\ 'settings': {'pylsp': {'plugins': {'ruff': {'enabled': 'true', 'formatEnabled': 'true',},'rope': {'enabled': 'true'}}}},
|
||||||
\ 'allowlist': ['python'],
|
\ 'allowlist': ['python'],
|
||||||
\ })
|
\ })
|
||||||
" \ 'cmd': {server_info->['pyls']},
|
" \ 'cmd': {server_info->['pyls']},
|
||||||
|
Loading…
Reference in New Issue
Block a user