Skip to content

Commit

Permalink
Switch python LSP server to maintained fork/continuation
Browse files Browse the repository at this point in the history
The maintainer left Palantir org by the sounds of it; so just forked and
kept maintaining the project under a new org, nobody else at Palantir
taken it up: palantir/python-language-server#935
  • Loading branch information
OJFord committed Oct 22, 2021
1 parent b8322b1 commit 7da5555
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion vim/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let g:LanguageClient_rootMarkers = {
\ }
let g:LanguageClient_serverCommands = {
\ 'go': ['gopls'],
\ 'python': ['pyls', '--log-file=/tmp/python-languageserver.log', '--verbose'],
\ 'python': ['pylsp', '--log-file=/tmp/python-languageserver.log', '--verbose'],
\ 'rust': ['rustup', 'run', 'stable', 'rls'],
\ 'svelte': ['svelteserver', '--stdio'],
\ 'terraform': ['terraform-ls', 'serve'],
Expand Down
7 changes: 4 additions & 3 deletions vim/aconfmgr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ AddPackage python-pynvim
# Language servers
AddPackage gopls
AddPackage --foreign nodejs-vls
AddPackage python-language-server
AddPackage --foreign python-language-server-black
AddPackage --foreign pyls-mypy
AddPackage python-lsp-server
AddPackage --foreign python-lsp-black
AddPackage --foreign python-mypy-ls
AddPackage --foreign python-pyls-isort
rustup component add rls
AddPackage --foreign nodejs-svelte-language-server
AddPackage --foreign terraform-ls
9 changes: 4 additions & 5 deletions vim/lsp.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"pyls.plugins.autopep8.enabled": false,
"pyls.plugins.black.enabled": true,
"pyls.plugins.pyls_mypy.enabled": true,
"pyls.plugins.pyls_mypy.live_mode": true,
"pyls.plugins.yapf.enabled": false,
"pylsp.plugins.pylsp_black.enabled": true,
"pylsp.plugins.pylsp_mypy.enabled": true,
"pylsp.plugins.pylsp_mypy.live_mode": true,
"pylsp.plugins.yapf.enabled": false,
"rust.clippy_preference": "on"
}

0 comments on commit 7da5555

Please sign in to comment.