Commit: 1bb4e1cefe75d61a5e10b3b0c62e9286e439c752
Parent: e2ee7743518a596932d114ffeea85274c3ebd9c0
Author: Randy Palamar
Date: Thu, 22 Jun 2023 09:45:16 -0600
vis: build.lua: remove optional file and range from vis:pipe()
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.config/vis/build.lua b/.config/vis/build.lua
@@ -29,7 +29,7 @@ local function build_files(win)
local cmd = "pdflatex -halt-on-error " .. f.name
-- build pdf
- local err, ostr = vis:pipe(f, {start = 0, finish = 0}, cmd)
+ local err, ostr = vis:pipe(cmd)
if err ~= 0 then
if ostr then
util.message_clear(vis)
@@ -45,7 +45,7 @@ local function build_files(win)
-- vis:command("!makeglossaries " .. fp .. " >/dev/null")
-- build pdf with updated references
- err = vis:pipe(f, {start = 0, finish = 0}, cmd)
+ err = vis:pipe(cmd)
if err ~= 0 then return false end
-- reload pdf (zathura does this automatically)