summaryrefslogtreecommitdiff
path: root/ftplugin/tex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/tex.lua')
-rw-r--r--ftplugin/tex.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/tex.lua b/ftplugin/tex.lua
new file mode 100644
index 0000000..b565c48
--- /dev/null
+++ b/ftplugin/tex.lua
@@ -0,0 +1,2 @@
+-- Configure the compiler for latex
+vim.opt_local.makeprg = 'pdflatex -interaction=nonstopmode -file-line-error -synctex=1 %'