summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/ftplugin/tex.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.vim/after/ftplugin/tex.lua b/.vim/after/ftplugin/tex.lua
index 723d992..031c63b 100644
--- a/.vim/after/ftplugin/tex.lua
+++ b/.vim/after/ftplugin/tex.lua
@@ -1 +1,3 @@
-vim.bo.makeprg = 'latexmk -1 -n %'
+
+vim.opt_local.makeprg = "latexmk -1 -n %"
+vim.opt_local.textwidth = 80