fix(nvim): spellfile loading (for real)

This commit is contained in:
Moritz Böhme 2023-06-11 19:14:13 +02:00
parent 29cfce1111
commit f3bfe50a35
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -2,7 +2,7 @@ vim.g.mapleader = " "
vim.g.maplocalleader = ","
-- FIX to create spell dir if not existent
local spelldir = vim.fn.stdpath("data") .. "/site/spell"
local spelldir = vim.fn.stdpath("config") .. "/spell"
if not vim.loop.fs_stat(spelldir) then
vim.fn.mkdir(spelldir, "p")
end