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:
Marty Oehme 2023-02-10 12:08:16 +01:00
parent 7965036eed
commit 0484556f04
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -43,7 +43,7 @@ if not vim.loop.fs_stat(lazypath) then
lazypath, lazypath,
}) })
end end
vim.opt.rtp:prepend (lazypath) vim.opt.rtp:prepend(lazypath)
-- set our leader key to space since with hjkl, space is largely useless -- set our leader key to space since with hjkl, space is largely useless
-- needs to be set before lazy.nvim is loaded -- needs to be set before lazy.nvim is loaded
@ -54,3 +54,5 @@ require("lazy").setup("plugins")
require('look') require('look')
require('maps') require('maps')
-- to include e.g. the spell dictionaries for vim
vim.opt.rtp:append(vim.fn.stdpath("data") .. "/site")