init
This commit is contained in:
18
nvim/lua/plugins/extras/linting/pylint.lua
Normal file
18
nvim/lua/plugins/extras/linting/pylint.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"pylint",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
opts = function(_, opts)
|
||||
opts.linters_by_ft.python = opts.linters_by_ft.python or {}
|
||||
table.insert(opts.linters_by_ft.python, "pylint")
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user