You've already forked dotfiles
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user