vimrc(pyls): enable rope

This commit is contained in:
t14 2024-07-09 15:51:07 +02:00
parent 62254c7cea
commit e83a79d12b
Signed by: wanderer
SSH Key Fingerprint: SHA256:szgNfbjbimyesAS1xfRZ0DY3hcNv9xC9ocRCJjD4Wgg

@ -1186,7 +1186,7 @@ if executable('pylsp')
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'pyls',
\ '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'],
\ })
" \ 'cmd': {server_info->['pyls']},