summary refs log tree commit diff
path: root/.vim/after/ftplugin/mail.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-12-07 13:49:47 +0100
committerRobert Günzler <r@gnzler.io>2021-12-07 14:00:26 +0100
commit88997bc23d4b854423cc532eb1de6a9bd1faa023 (patch)
treedab53782d79f899583173e3403f69b0db0584c0d /.vim/after/ftplugin/mail.lua
parent66ca9ed1b74ad24204fd9432697f666d4434b115 (diff)
vim: move spell config to central place
Diffstat (limited to '.vim/after/ftplugin/mail.lua')
-rw-r--r--.vim/after/ftplugin/mail.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/.vim/after/ftplugin/mail.lua b/.vim/after/ftplugin/mail.lua
index 9912d65..beb2171 100644
--- a/.vim/after/ftplugin/mail.lua
+++ b/.vim/after/ftplugin/mail.lua
@@ -1,6 +1,3 @@
 
-vim.opt.spell = true
-vim.opt.spelllang = 'de'
-vim.opt.spellfile = vim.fn.stdpath('data') .. '/spellfile.utf-88.add'
-
+require('spell')
 vim.opt.cursorline = false