diff --git a/.vim/vimrc b/.vim/vimrc index 2523600..bc14554 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1178,7 +1178,8 @@ if executable('pylsp') autocmd! autocmd User lsp_setup call lsp#register_server({ \ 'name': 'pyls', - \ 'cmd': {server_info->[&shell, &shellcmdflag, 'pylsp']}, + \ 'cmd': {server_info->[&shell, &shellcmdflag, 'pylsp', '-vvv', '--log-file', '/tmp/pyls.log']}, + \ 'settings': {'pylsp': {'plugins': {'ruff': {'enabled': 'true', 'formatEnabled': 'true',}}}}, \ 'allowlist': ['python'], \ }) " \ 'cmd': {server_info->['pyls']},