summary refs log tree commit diff
path: root/.vim
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-08-30 18:29:07 +0200
committerRobert Günzler <r@gnzler.io>2021-08-31 12:41:20 +0200
commit43b8194a90f0232189ff75182d05a70b84a8be5e (patch)
treefed8dcf80caa6c77daa6697f318515dd66fdf330 /.vim
parentb84cfc5bceacf0d50a7d8e6fc5946dbbf4f2aa08 (diff)
bashrc: cleanup
Diffstat (limited to '.vim')
-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 %'