nvim: Fix spell dictionary not able to be found
Added the previously important 'site' directory to the runtime path of neovim so it stops complaining about not finding spell dictionaries on starting up with a spell-enabled file.
This commit is contained in:
parent
7965036eed
commit
0484556f04
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,7 @@ if not vim.loop.fs_stat(lazypath) then
|
|||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend (lazypath)
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- set our leader key to space since with hjkl, space is largely useless
|
||||
-- needs to be set before lazy.nvim is loaded
|
||||
|
@ -54,3 +54,5 @@ require("lazy").setup("plugins")
|
|||
require('look')
|
||||
require('maps')
|
||||
|
||||
-- to include e.g. the spell dictionaries for vim
|
||||
vim.opt.rtp:append(vim.fn.stdpath("data") .. "/site")
|
||||
|
|
Loading…
Reference in a new issue