AutoYADM commit: 2025-05-11 20:23:54
This commit is contained in:
parent
e38f865ad9
commit
460a3c56f9
3 changed files with 122 additions and 1 deletions
|
@ -16,12 +16,14 @@ map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP er
|
|||
|
||||
# Server Config
|
||||
set-option global lsp_debug false
|
||||
lsp-inlay-hints-enable global
|
||||
# TODO: set up toggle binding for this
|
||||
# lsp-inlay-diagnostics-enable global
|
||||
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue