Commit: 20c8b64c5105b1a7fcadba0b04f94ef9eaf515fb
Parent: 4163dd3f7fa41b80c2a1e0126f8ba04c201b81ba
Author: Randy Palamar
Date: Wed, 4 Jan 2023 20:51:51 -0700
vis: build: fmt: don't return true for files with no formatter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/vis/build.lua b/.config/vis/build.lua
@@ -8,7 +8,7 @@ local function fmt(file, path)
fmt["bibtex"] = "bibtidy"
local cmd = fmt[win.syntax]
- if cmd == nil then return true end
+ if cmd == nil then return end
local err, ostr, estr = vis:pipe(file, {start = 0, finish = file.size}, cmd)
if err ~= 0 then