You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me while to figure out how to enable disable plugins in the pylsp server. One thing I don't find very useful is the McCabe complexity check. Finally I got it working via the lspconfig setup function using:
require('lspconfig').pylsp.setup {
on_attach=on_attach,
flags= {
-- This will be the default in neovim 0.7+debounce_text_changes=150,
},
settings= {
pylsp= {
plugins= {
-- pylint = { enabled = true },mccabe= { enabled=false }
}
}
}
}
This might be server specific, but it would be nice to have this in the documentation to make it easier for people to find and tweak their server settings. I found these listed via :LspInstallInfo from williamboman/nvim-lsp-installer.
Other clients which have this feature
No response
The text was updated successfully, but these errors were encountered:
Language server
pylsp
Requested feature
It took me while to figure out how to enable disable plugins in the
pylsp
server. One thing I don't find very useful is the McCabe complexity check. Finally I got it working via thelspconfig
setup function using:This might be server specific, but it would be nice to have this in the documentation to make it easier for people to find and tweak their server settings. I found these listed via
:LspInstallInfo
from williamboman/nvim-lsp-installer.Other clients which have this feature
No response
The text was updated successfully, but these errors were encountered: