summary refs log tree commit diff
path: root/.vim/after
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-11-15 13:14:10 +0100
committerRobert Günzler <r@gnzler.io>2021-11-15 13:14:10 +0100
commite696637b0b7873bd933b95e4a10c23d7439f842f (patch)
tree36f289d5e9252685bcf458235237fc241bcb5f4a /.vim/after
parentcff194061856e6ad7a099a5df8242de2ab6bd6c6 (diff)
vim: enable german spellfile for mail
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/ftplugin/mail.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/after/ftplugin/mail.lua b/.vim/after/ftplugin/mail.lua
index 5e9b198..9912d65 100644
--- a/.vim/after/ftplugin/mail.lua
+++ b/.vim/after/ftplugin/mail.lua
@@ -1,3 +1,6 @@
 
 vim.opt.spell = true
+vim.opt.spelllang = 'de'
+vim.opt.spellfile = vim.fn.stdpath('data') .. '/spellfile.utf-88.add'
+
 vim.opt.cursorline = false