diff options
author | Oxbian <got.dacs@slmail.me> | 2023-06-30 16:24:38 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-06-30 16:24:38 +0200 |
commit | 450cea46e25d4b14400e6ad912695b56664bd41a (patch) | |
tree | 834b2cc7ae61d43ded182e5608fb2177ba657df4 /.vim/after/ftplugin | |
parent | 8b3a4051b31e50c2ccc7c52db95e87f40ccc675a (diff) | |
download | vimrc-450cea46e25d4b14400e6ad912695b56664bd41a.tar.gz vimrc-450cea46e25d4b14400e6ad912695b56664bd41a.zip |
Updating LSP to working solution, need to check if all linter works & add keybinds / docu
Diffstat (limited to '.vim/after/ftplugin')
-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}, + \ } + \ }} + \ } |