X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=vim%2F.vim%2Fplugin%2Flsp.vim;fp=vim%2F.vim%2Fplugin%2Flsp.vim;h=ad29aba42b37c9ccaec220714c69eb18578ebbff;hp=1adfbe5a9448533f7fcc4571e71b32ea57ecc26f;hb=dd45f36790e1d7d4d67bf3b34ef9955ed4c3cd74;hpb=18761fd15fd6acd4b9c9c9cd0d1792f8099b1e41 diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim index 1adfbe5..ad29aba 100644 --- a/vim/.vim/plugin/lsp.vim +++ b/vim/.vim/plugin/lsp.vim @@ -16,6 +16,17 @@ for d in [ path: "gopls", syncInit: true, }, + { + filetype: ["python"], + path: "pyls", + syncInit: true, + workspaceConfig: {pyls: { + configurationSources: ["flake8"], + plugins: { + mccabe: {enabled: false}, + }, + }}, + }, ] if executable(d["path"]) add(lspServers, d)