diff options
| -rw-r--r-- | .vim/lua/spell.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.vim/lua/spell.lua b/.vim/lua/spell.lua index 1d22325..e5cfca1 100644 --- a/.vim/lua/spell.lua +++ b/.vim/lua/spell.lua @@ -1,8 +1,7 @@ vim.opt_local.spell = true --- vim.opt.spelllang = 'de_de,en_en' -vim.opt.spelllang = {'en_en', 'de_de'} -vim.opt.spellfile = vim.fn.stdpath('data') .. '/spellfile.utf-8.add' +vim.opt.spelllang = {'en_gb', 'de_de'} +vim.opt.spellfile = vim.fn['spellfile#WritableSpellDir']() .. '/spellfile.utf-8.add' vim.opt.spellcapcheck = '' vim.opt.spelloptions = {'camel'} vim.opt.spellsuggest = 'double' |