commit f31610d30e5d6713603d1e93c274746992fd9e4f
parent cf12c428d912aae066b349e7c6d158ac937e5df2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 15 Jun 2019 11:02:34 +0200
Use $vis_filepath instead of $vis_filename
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua
@@ -32,9 +32,9 @@ vis:command_register("rg", function(argv, force, cur_win, selection, range)
end, 'fuzzy file-content search')
interpreters = {
- ["python"] = "!python -i $vis_filename",
- ["lua"] = "!lua -i $vis_filename",
- ["julia"] = "!julia -i $vis_filename",
+ ["python"] = "!python -i $vis_filepath",
+ ["lua"] = "!lua -i $vis_filepath",
+ ["julia"] = "!julia -i $vis_filepath",
["latex"] = "!tmux new-window -a 'latexmk -pdf -pvc -f $vis_filepath'",
}