fix: enable lint for shell and protobuf

This commit is contained in:
Renken 2024-08-19 15:20:11 +02:00
parent 90a0f437b4
commit 18ebafb384
Signed by: renken
GPG key ID: 1F2BB159B645E575
2 changed files with 3 additions and 1 deletions

View file

@ -909,7 +909,7 @@ require('lazy').setup({
--
-- require 'kickstart.plugins.debug',
-- require 'kickstart.plugins.indent_line',
-- require 'kickstart.plugins.lint',
require 'kickstart.plugins.lint',
-- require 'kickstart.plugins.autopairs',
-- require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps

View file

@ -7,6 +7,8 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
sh = { 'shellcheck' },
proto = { 'buf_lint' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,