fix(nvim): spellfile loading (for real)
parent
29cfce1111
commit
f3bfe50a35
|
@ -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 New Issue