Commit: 96b4377a19a5d059f008f79f32304a56c30a850f
Parent: fced096bb118d795ce48129313725bf41e2c17e4
Author: Randy Palamar
Date: Thu, 12 Oct 2023 09:12:39 -0600
vis: build: format json with tabs
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.config/vis/build.lua b/.config/vis/build.lua
@@ -10,6 +10,7 @@ local function fmt_file(file)
M.fixers["ansi_c"] = { "clang-format -fallback-style=none" }
M.fixers["cpp"] = { "clang-format -fallback-style=none" }
M.fixers["bibtex"] = { "bibtidy" }
+ M.fixers["json"] = { "jq --tab" }
return M.fix(file)
end
vis.events.subscribe(vis.events.FILE_SAVE_PRE, fmt_file)