fix(rtp): correct order of adding to rtp. Fixes #226

This commit is contained in:
Folke Lemaitre 2022-12-29 08:21:22 +01:00
parent 72ab3e2933
commit 4e3a973f85
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 2 additions and 2 deletions

View file

@ -183,9 +183,9 @@ function M.setup(spec, opts)
if M.options.performance.rtp.reset then
vim.opt.rtp = {
M.me,
vim.fn.stdpath("config"),
vim.env.VIMRUNTIME,
vim.fn.fnamemodify(vim.v.progpath, ":p:h:h") .. "/lib/nvim",
vim.fn.stdpath("config"),
vim.fn.stdpath("config") .. "/after",
}
end