diff options
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/50-spell.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/50-spell.lua b/plugin/50-spell.lua index 56d4c5f..59bcc92 100644 --- a/plugin/50-spell.lua +++ b/plugin/50-spell.lua @@ -20,8 +20,8 @@ end vim.opt.spelllang = "en_us" -- Initial spell language vim.opt.spellfile = { -- Spellfiles for zg, zw, z=, etc - "/home/tvanbesi/.config/nvim/spell/en.utf-8.add", - "/home/tvanbesi/.config/nvim/spell/fr.utf-8.add", + vim.fn.stdpath("config") .. "/spell/en.utf-8.add", + vim.fn.stdpath("config") .. "/spell/fr.utf-8.add", } vim.api.nvim_create_user_command("SpellToggle", toggle_spell, { desc = "Toggle spell checking" }) |
