X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fftplugin%2Fpython%2Flsp.vim;h=7cbc696609e4b9441539f0f07927821ac682102d;hb=a553a7cdcd190da2a31d717fc967619b4b91097c;hp=c792deac5f876346e32d566cc2d492966c84e9ec;hpb=20fc019b32d25bdb12a20c13df415136cc6c84db;p=dotfiles.git diff --git a/vim/.vim/ftplugin/python/lsp.vim b/vim/.vim/ftplugin/python/lsp.vim index c792dea..7cbc696 100644 --- a/vim/.vim/ftplugin/python/lsp.vim +++ b/vim/.vim/ftplugin/python/lsp.vim @@ -3,6 +3,12 @@ if executable("pyls") au User lsp_setup call lsp#register_server({ \ "name": "pyls", \ "cmd": {server_info->["pyls"]}, - \ "whitelist": ["python"], + \ "allowlist": ["python"], + \ "workspace_config": {"pyls": { + \ "configurationSources": ["flake8"], + \ "plugins": { + \ "mccabe": {"enabled": v:false}, + \ }, + \ }}, \}) endif