Skip to content

Commit

Permalink
fix(loader): temporary fix for Vimtex and others. See #230
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 29, 2022
1 parent 044e28b commit c7122d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/core/loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function M._load(plugin, reason)
Util.track({ plugin = plugin.name, start = reason.start })
Handler.disable(plugin)

vim.opt.runtimepath:append(plugin.dir)
vim.opt.runtimepath:prepend(plugin.dir)
local after = plugin.dir .. "/after"
if vim.loop.fs_stat(after) then
vim.opt.runtimepath:append(after)
Expand Down

0 comments on commit c7122d6

Please sign in to comment.