fix(nvim): spellfile loading (for real)
This commit is contained in:
parent
29cfce1111
commit
f3bfe50a35
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue