AutoYADM commit: 2025-05-11 19:53:08

This commit is contained in:
Daniel Fichtinger 2025-05-11 19:53:08 -04:00
parent cdce68e990
commit 1997dc40e7

View file

@ -15,3 +15,17 @@ 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
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
}
}