dotfiles/.config/nvim/lua/lsp/pylsp.lua

24 lines
555 B
Lua

return {
capabilities = {
offsetEncoding = { "utf-16" }
},
settings = {
pylsp = {
plugins = {
jedi_definition = {
enabled = true,
follow_imports = true,
follow_builtin_imports = true,
},
flake8 = {
enabled = true,
maxLineLength = 100,
},
pycodestyle = { enabled = false },
mccabe = { enabled = false },
pyflakes = { enabled = false },
autopep8 = { enabled = false },
yapf = { enabled = false },
},
},
},}