mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix(rtp): correct order of adding to rtp. Fixes #226
This commit is contained in:
parent
72ab3e2933
commit
4e3a973f85
2 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ function M._load(plugin, reason)
|
|||
Util.track({ plugin = plugin.name, start = reason.start })
|
||||
Handler.disable(plugin)
|
||||
|
||||
vim.opt.runtimepath:prepend(plugin.dir)
|
||||
vim.opt.runtimepath:append(plugin.dir)
|
||||
local after = plugin.dir .. "/after"
|
||||
if vim.loop.fs_stat(after) then
|
||||
vim.opt.runtimepath:append(after)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue