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

21 lines
372 B
Lua
Raw Normal View History

2023-04-03 09:19:12 -04:00
return {
cmd = {vim.g.lsp_path .. "pylsp"},
filetypes = {"python"},
on_attach = vim.g.lsp_on_attach,
handlers = vim.g.lsp_handlers,
capabilities = vim.g.lsp_capabilities,
settings = {
pylsp = {
2024-07-08 14:57:05 -04:00
2023-04-03 09:19:12 -04:00
plugins = {
pycodestyle = {
2023-05-14 05:06:12 -04:00
ignore = {'W391','W293',"E128","E124"},
2023-04-03 09:19:12 -04:00
maxLineLength = 90
}
}
}
},
}