AutoYADM commit: 2025-05-11 20:08:08
This commit is contained in:
parent
1997dc40e7
commit
e38f865ad9
1 changed files with 6 additions and 4 deletions
|
@ -15,17 +15,19 @@ map global object d '<a-semicolon>lsp-diagnostic-object --include-warnings<ret>'
|
|||
map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP errors'
|
||||
|
||||
# Server Config
|
||||
set-option global lsp_debug false
|
||||
|
||||
remove-hooks global lsp-filetype-python
|
||||
hook -group lsp-filetype-python global BufSetOption filetype=python %{
|
||||
set-option buffer lsp_servers %{
|
||||
[basedpyright-langserver]
|
||||
# command = "basedpyright-langserver"
|
||||
root_globs = ["requirements.txt", "setup.py", "pyproject.toml", "pyrightconfig.json", ".git", ".hg"]
|
||||
args = ["--stdio"]
|
||||
# settings_section = "basedpyright"
|
||||
# [basedpyright.settings.basedpyright.analysis]
|
||||
# typeCheckingMode = "standard"
|
||||
# inlayHints.genericTypes = true
|
||||
settings_section = "basedpyright"
|
||||
[basedpyright-langserver.settings.basedpyright.analysis]
|
||||
typeCheckingMode = "standard"
|
||||
inlayHints.genericTypes = true
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue