Update 2024-07-13

This commit is contained in:
2024-07-13 12:16:03 +03:00
parent fe927a0e6c
commit 8b61c3654a
26 changed files with 357 additions and 283 deletions

29
lua/plugins/lsp/pylsp.lua Normal file
View File

@@ -0,0 +1,29 @@
local M = {}
M.setup = function(lsp, capabilities)
lsp.pylsp.setup({
capabilities = capabilities,
settings = {
pylsp = {
plugins = {
autopep8 = { enabled = false },
flake8 = { enabled = false },
pylint = { enabled = false },
yapf = { enabled = false },
pydocstyle = { enabled = false },
mccabe = { enabled = false },
rope_autoimport = { enabled = true },
rope_completion = {
enabled = true,
eager = true,
},
pycodestyle = {
maxLineLength = nil,
},
},
},
},
})
end
return M