improve python lsp config
This commit is contained in:
parent
7db485bfaa
commit
cfd2f9f786
|
@ -28,7 +28,7 @@ let g:LanguageClient_serverCommands = {
|
||||||
\ },
|
\ },
|
||||||
\ 'elixir': ['/usr/lib/elixir-ls/language_server.sh'],
|
\ 'elixir': ['/usr/lib/elixir-ls/language_server.sh'],
|
||||||
\ 'elm': ['/usr/bin/elm-language-server'],
|
\ 'elm': ['/usr/bin/elm-language-server'],
|
||||||
\ 'python': ['/usr/bin/pyls'],
|
\ 'python': ['/usr/bin/pylsp'],
|
||||||
\ 'go': ['/usr/bin/gopls'],
|
\ 'go': ['/usr/bin/gopls'],
|
||||||
\ 'promql': ['/usr/local/bin/promql-langserver'],
|
\ 'promql': ['/usr/local/bin/promql-langserver'],
|
||||||
\ 'java': ['/usr/bin/java-language-server'],
|
\ 'java': ['/usr/bin/java-language-server'],
|
||||||
|
@ -41,6 +41,7 @@ let g:LanguageClient_rootMarkers = {
|
||||||
\ 'typescript': ['package.json'],
|
\ 'typescript': ['package.json'],
|
||||||
\ 'typescriptreact': ['package.json'],
|
\ 'typescriptreact': ['package.json'],
|
||||||
\ 'rust': ['Cargo.toml'],
|
\ 'rust': ['Cargo.toml'],
|
||||||
|
\ 'python': ['pyproject.toml', 'setup.cfg'],
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
let g:LanguageClient_hoverPreview = 'always'
|
let g:LanguageClient_hoverPreview = 'always'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user