Commit: 72dd0af52d25b4b2bf40c412936077b57308dc91
Parent: ae84a19c26af928a02abc67f891cd2634fc55459
Author: Randy Palamar
Date: Thu, 13 Apr 2023 17:36:22 -0600
add linters for lua and man/mdoc
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/init.lua b/init.lua
@@ -1,6 +1,8 @@
vis:command_register("lint", function()
local linters = {}
linters["bash"] = "shellcheck -"
+ linters["lua"] = "luacheck --exclude-files * --no-color -"
+ linters["man"] = "mandoc -T lint"
local cmd = linters[vis.win.syntax]
if cmd == nil then