fix: use initial rtp for rtp plugin after files and use loaded plugins for their after files

This commit is contained in:
Folke Lemaitre 2022-12-15 23:23:18 +01:00
commit 7134417e89
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 24 additions and 16 deletions

View file

@ -119,6 +119,7 @@ function M.setup(spec, opts)
me,
vim.env.VIMRUNTIME,
vim.fn.stdpath("config"),
vim.fn.stdpath("config") .. "/after",
}
end
vim.opt.rtp:append(M.options.readme.root)