summary refs log tree commit diff
path: root/.vim
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-04-20 14:16:03 +0200
committerRobert Günzler <r@gnzler.io>2022-04-20 14:16:03 +0200
commit704d9156e7e79071e8bf7eb5705d74c5853c5b78 (patch)
tree4500f6bbc1aee3cc3c2770e75b22240ebd9c2491 /.vim
parentdf28aec72cc90989e4a3b2cdf2473c4a1cb46c55 (diff)
vim/ftplugin/latex: add makeprg and textwidth
Diffstat (limited to '.vim')
-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