summary refs log tree commit diff
path: root/.vim/after/ftplugin/tex.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2024-11-25 13:30:37 +0100
committerRobert Günzler <r@gnzler.io>2024-11-25 13:58:25 +0100
commit23de12baba9fbfc4ca24581b37c374aa5345cc25 (patch)
treee4b3c421bad572eb85a1089eaad44dc3059ab6e6 /.vim/after/ftplugin/tex.lua
parent18e3848110da0a59843058927ea04b496f5db2a5 (diff)
update nvim config
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rw-r--r--.vim/after/ftplugin/tex.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/.vim/after/ftplugin/tex.lua b/.vim/after/ftplugin/tex.lua
deleted file mode 100644
index bf62d26..0000000
--- a/.vim/after/ftplugin/tex.lua
+++ /dev/null
@@ -1,8 +0,0 @@
-local find_doc_root = require('lspconfig.util').root_pattern('Tectonic.toml')
-if find_doc_root(vim.fn.expand('%:p:h')) then
-  vim.opt_local.makeprg = 'latextbx mk -1'
-else
-  vim.opt_local.makeprg = 'latextbx mk -1 %'
-end
-
-vim.opt_local.textwidth = 80