AutoYADM commit: 2025-05-11 20:08:08

This commit is contained in:
Daniel Fichtinger 2025-05-11 20:08:08 -04:00
parent 1997dc40e7
commit e38f865ad9

View file

@ -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' map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP errors'
# Server Config # Server Config
set-option global lsp_debug false
remove-hooks global lsp-filetype-python
hook -group lsp-filetype-python global BufSetOption filetype=python %{ hook -group lsp-filetype-python global BufSetOption filetype=python %{
set-option buffer lsp_servers %{ set-option buffer lsp_servers %{
[basedpyright-langserver] [basedpyright-langserver]
# command = "basedpyright-langserver" # command = "basedpyright-langserver"
root_globs = ["requirements.txt", "setup.py", "pyproject.toml", "pyrightconfig.json", ".git", ".hg"] root_globs = ["requirements.txt", "setup.py", "pyproject.toml", "pyrightconfig.json", ".git", ".hg"]
args = ["--stdio"] args = ["--stdio"]
# settings_section = "basedpyright" settings_section = "basedpyright"
# [basedpyright.settings.basedpyright.analysis] [basedpyright-langserver.settings.basedpyright.analysis]
# typeCheckingMode = "standard" typeCheckingMode = "standard"
# inlayHints.genericTypes = true inlayHints.genericTypes = true
} }
} }