diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-02-15 23:26:03 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-05-29 22:57:31 +0100 |
commit | 4c8dbf4a790d58020977c8453392bcb34930af4c (patch) | |
tree | abde240c54d09da06312b22bc941ea71c4536b3c /lsc.vim | |
parent | d2aa8d3857d7c169c240e2d9d57864fc6561fcad (diff) | |
download | dotnvim-4c8dbf4a790d58020977c8453392bcb34930af4c.tar.gz dotnvim-4c8dbf4a790d58020977c8453392bcb34930af4c.zip |
Python: LSP + mypy + black
Diffstat (limited to 'lsc.vim')
-rw-r--r-- | lsc.vim | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -1,9 +1,20 @@ " vim-lsc configuation " +" req: +" - python-lsp-server +" - pylsp-mypy +" - python-lsp-black +" +" ensure yapf and autopep8 is not installed so black works +" let g:lsc_server_commands = { \ 'python': { - \ 'command': 'pyls', - \ 'suppress_stderr': 1 + \ 'command': 'pylsp', + \ 'suppress_stderr': 0, + \ 'workspace_config': { + \ 'pylsp.plugins.pylsp_mypy.enabled': 1, + \ 'pylsp.plugins.pylsp_mypy.live_mode': 0 + \ } \ }, \ 'haskell' : { \ 'command': 'haskell-language-server-wrapper --lsp', |