summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2022-10-02 20:22:59 -0400
committerChristian Chiarulli <[email protected]>2022-10-02 20:22:59 -0400
commit488d95b3b84879a178692557cb7a9c683bc8c36b (patch)
tree6bbc983765d206f5678f4b5af1405731120e8be8
parenta77fcf6e90a20f285e222c3631ace67548aca4ab (diff)
fix: add lunarvim/lvim/after to rtp
-rw-r--r--lua/lvim/bootstrap.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lvim/bootstrap.lua b/lua/lvim/bootstrap.lua
index f637c144..113c3f71 100644
--- a/lua/lvim/bootstrap.lua
+++ b/lua/lvim/bootstrap.lua
@@ -90,6 +90,7 @@ function M:init(base_dir)
vim.opt.rtp:remove(join_paths(vim.call("stdpath", "data"), "site"))
vim.opt.rtp:remove(join_paths(vim.call("stdpath", "data"), "site", "after"))
vim.opt.rtp:prepend(join_paths(self.runtime_dir, "site"))
+ vim.opt.rtp:append(join_paths(self.runtime_dir, "lvim", "after"))
vim.opt.rtp:append(join_paths(self.runtime_dir, "site", "after"))
vim.opt.rtp:remove(vim.call("stdpath", "config"))