From 18ebafb384e3915aa76c434147ffe5e2d22459fb Mon Sep 17 00:00:00 2001 From: Renken Date: Mon, 19 Aug 2024 15:20:11 +0200 Subject: [PATCH] fix: enable lint for shell and protobuf --- init.lua | 2 +- lua/kickstart/plugins/lint.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index d384ce2..f106d7c 100644 --- a/init.lua +++ b/init.lua @@ -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 diff --git a/lua/kickstart/plugins/lint.lua b/lua/kickstart/plugins/lint.lua index a1eeec2..10219b2 100644 --- a/lua/kickstart/plugins/lint.lua +++ b/lua/kickstart/plugins/lint.lua @@ -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,