diff options
| author | Robert Günzler <r@gnzler.io> | 2022-05-27 13:14:48 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-05-27 14:08:50 +0200 |
| commit | f0891c129888d177fcf5dcac48921f5c5ee28698 (patch) | |
| tree | 2e6b13cd32acdb23ec70b4f1f39b4a3b948252f0 | |
| parent | 218dc8598caa03dc8f6beb8d4e1fafce87597bf4 (diff) | |
vim: update spellfile location
| -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' |