From 88997bc23d4b854423cc532eb1de6a9bd1faa023 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 7 Dec 2021 13:49:47 +0100 Subject: vim: move spell config to central place --- .vim/after/ftplugin/mail.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.vim/after/ftplugin/mail.lua') 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 -- cgit 1.4.1