lazyvim/lua/plugins/lspconfig.lua

45 lines
972 B
Lua
Raw Normal View History

2023-03-16 08:01:27 +01:00
return {
"neovim/nvim-lspconfig",
2023-03-22 11:04:23 +01:00
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
},
}
}
}
}
}
}
2023-03-16 08:01:27 +01:00
}