use tectonic and quote path

This commit is contained in:
Felix Van der Jeugt 2019-06-03 10:22:56 +02:00
parent 41af44e6fc
commit f63038ff8d
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 2 additions and 1 deletions

View File

@ -47,8 +47,9 @@ interactives = {
["python"] = "!python -i $vis_filename",
["haskell"] = "!stack ghci $vis_filepath",
["lithaskell"] = "!stack ghci $vis_filepath",
["latex"] = "!pdflatex $vis_filepath",
["latex"] = "!tectonic '$vis_filepath'",
}
vis:map(vis.modes.NORMAL, ";i", function()
local command = interactives[vis.win.syntax]
if command then