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

20 lines
351 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 = {
plugins = {
pycodestyle = {
ignore = {'W391','W293'},
maxLineLength = 90
}
}
}
},
}