ignore pep8 stuff with pylsp
This commit is contained in:
parent
39f0309495
commit
486fd53d6e
13
init.lua
13
init.lua
@ -664,13 +664,24 @@ require("lazy").setup({
|
|||||||
-- clangd = {},
|
-- clangd = {},
|
||||||
-- gopls = {},
|
-- gopls = {},
|
||||||
pylsp = {
|
pylsp = {
|
||||||
|
settings = {
|
||||||
|
pylsp = {
|
||||||
|
configurationSources = { "flake8" },
|
||||||
plugins = {
|
plugins = {
|
||||||
|
flake8 = {
|
||||||
|
enabled = true,
|
||||||
|
ignore = { "W391", "W293", "E501" },
|
||||||
|
maxLineLength = 1000,
|
||||||
|
},
|
||||||
pycodestyle = {
|
pycodestyle = {
|
||||||
ignore = { "W391" },
|
enabled = true,
|
||||||
|
ignore = { "W391", "W293", "E501" },
|
||||||
maxLineLength = 100,
|
maxLineLength = 100,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
-- rust_analyzer = {},
|
-- rust_analyzer = {},
|
||||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||||
--
|
--
|
||||||
|
Loading…
x
Reference in New Issue
Block a user