fix(nvim): spellfile loading (for real)

dev-docs
Moritz Böhme 2023-06-11 19:14:13 +02:00
parent 29cfce1111
commit f3bfe50a35
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ vim.g.mapleader = " "
vim.g.maplocalleader = "," vim.g.maplocalleader = ","
-- FIX to create spell dir if not existent -- 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 if not vim.loop.fs_stat(spelldir) then
vim.fn.mkdir(spelldir, "p") vim.fn.mkdir(spelldir, "p")
end end