summary refs log tree commit diff
path: root/.vim/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/ftplugin')
-rw-r--r--.vim/after/ftplugin/lua.lua2
-rw-r--r--.vim/after/ftplugin/mail.lua3
-rw-r--r--.vim/after/ftplugin/tex.lua1
3 files changed, 6 insertions, 0 deletions
diff --git a/.vim/after/ftplugin/lua.lua b/.vim/after/ftplugin/lua.lua
new file mode 100644
index 0000000..b2f7993
--- /dev/null
+++ b/.vim/after/ftplugin/lua.lua
@@ -0,0 +1,2 @@
+
+vim.bo.expandtab = true
diff --git a/.vim/after/ftplugin/mail.lua b/.vim/after/ftplugin/mail.lua
new file mode 100644
index 0000000..5e9b198
--- /dev/null
+++ b/.vim/after/ftplugin/mail.lua
@@ -0,0 +1,3 @@
+
+vim.opt.spell = true
+vim.opt.cursorline = false
diff --git a/.vim/after/ftplugin/tex.lua b/.vim/after/ftplugin/tex.lua
new file mode 100644
index 0000000..723d992
--- /dev/null
+++ b/.vim/after/ftplugin/tex.lua
@@ -0,0 +1 @@
+vim.bo.makeprg = 'latexmk -1 -n %'