fix: pylsp

This commit is contained in:
2023-03-22 11:04:23 +01:00
parent 08a15569b7
commit f2fd3e054f
2 changed files with 67 additions and 26 deletions

View File

@@ -1,3 +1,44 @@
return {
"neovim/nvim-lspconfig",
opts = {
---@type lspconfig.options
servers = {
pylsp = {
settings = {
pylsp = {
plugins = {
autopep8 = {
enabled = false
},
yapf = {
enabled = false
},
pylint = {
enabled = true
},
flake8 = {
enabled = true
},
["pylsp-mypy"] = {
enabled = true,
livemode = true
},
["pylsp-rope"] = {
enabled = true
},
["pyls-isort"] = {
enabled = true
},
["python-lsp-black"] = {
enabled = true
},
["pyls-memestra"] = {
enabled = true
},
}
}
}
}
}
}
}