diff options
Diffstat (limited to '.vim/after')
-rw-r--r-- | .vim/after/ftplugin/python.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.vim/after/ftplugin/python.vim b/.vim/after/ftplugin/python.vim new file mode 100644 index 0000000..fe4ed31 --- /dev/null +++ b/.vim/after/ftplugin/python.vim @@ -0,0 +1,17 @@ +" Python + +let g:lsp_settings = {} +let g:lsp_settings['pylsp'] = + \ { + \ 'workspace_config': {'pylsp': { + \ 'configurationSources': ['flake8'], + \ 'plugins': { + \ 'flake8': {'enabled': v:true}, + \ 'mypy-ls': {'enabled': v:true, 'live_mode': v:false}, + \ 'pylint': {'enabled': v:true}, + \ 'pydocstyle': {'enabled': v:true}, + \ 'pyls_isort': {'enabled': v:true}, + \ 'black': {'enabled': v:true}, + \ } + \ }} + \ } |