AutoYADM commit: 2025-05-11 19:53:08
This commit is contained in:
parent
cdce68e990
commit
1997dc40e7
1 changed files with 14 additions and 0 deletions
|
@ -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'
|
map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP errors'
|
||||||
|
|
||||||
# Server Config
|
# 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
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue