For some projects I like to use pylsp because it is comprehensive, but for large projects I have to use combination of jedi + ruff for performance reasons (pylsp hangs entire vim on every keypress). Currently have to "toggle" i.e. repeatedly comment out and in line like following from my .vimrc:
let g:lsp_settings_filetype_python = ["ruff-lsp", "jedi-language-server"]
Is there any way I can use LspSettingsLocalEdit to create a project directory vim-lsp-settings config file where for certain project configured as such I can use two language servers simultaneously but otherwise by default standard behavior of just pylsp is fine?
The local config can currently be set to manually disable everything except
one server with the disabled option, but I cannot figure out how to run two
separate servers simultaneosly.
For some projects I like to use pylsp because it is comprehensive, but for large projects I have to use combination of jedi + ruff for performance reasons (pylsp hangs entire vim on every keypress). Currently have to "toggle" i.e. repeatedly comment out and in line like following from my .vimrc:
Is there any way I can use
LspSettingsLocalEdit
to create a project directory vim-lsp-settings config file where for certain project configured as such I can use two language servers simultaneously but otherwise by default standard behavior of just pylsp is fine?The local config can currently be set to manually disable everything except one server with the
disabled
option, but I cannot figure out how to run two separate servers simultaneosly.