feat: Adding in the pylint plugin for pylsp rather than trying to add it
through other means. Adding the ignore line for ignoring lines that are "too long", as well as providing a placeholder for future edits to ignoring other linting feedback.
This commit is contained in:
parent
b44517f814
commit
246ba3d490
@ -39,7 +39,7 @@ return {
|
||||
-- 'jdtls', -- java
|
||||
'lua_ls',
|
||||
'marksman', -- markdown
|
||||
'pylint',
|
||||
-- 'pylint',
|
||||
'pylsp',
|
||||
'rust_analyzer',
|
||||
'ts_ls', -- Typscript
|
||||
@ -83,10 +83,17 @@ return {
|
||||
pylsp = {
|
||||
plugins = {
|
||||
pycodestyle = {
|
||||
enabled = false,
|
||||
ignore = {
|
||||
'E501' -- Ignore line length pep8 warnings
|
||||
},
|
||||
maxLineLength = 120,
|
||||
},
|
||||
pylint = {
|
||||
enabled = true,
|
||||
args = {
|
||||
'--disable=line-too-long'
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -115,8 +122,6 @@ return {
|
||||
}
|
||||
})
|
||||
|
||||
vim.lsp.config("pyright", {})
|
||||
|
||||
vim.lsp.config("*", {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user