mirror of https://github.com/folke/lazy.nvim.git
fix(loader): temporary fix for Vimtex and others. See #230
This commit is contained in:
parent
044e28bf8b
commit
c7122d64cd
|
@ -172,7 +172,7 @@ function M._load(plugin, reason)
|
||||||
Util.track({ plugin = plugin.name, start = reason.start })
|
Util.track({ plugin = plugin.name, start = reason.start })
|
||||||
Handler.disable(plugin)
|
Handler.disable(plugin)
|
||||||
|
|
||||||
vim.opt.runtimepath:append(plugin.dir)
|
vim.opt.runtimepath:prepend(plugin.dir)
|
||||||
local after = plugin.dir .. "/after"
|
local after = plugin.dir .. "/after"
|
||||||
if vim.loop.fs_stat(after) then
|
if vim.loop.fs_stat(after) then
|
||||||
vim.opt.runtimepath:append(after)
|
vim.opt.runtimepath:append(after)
|
||||||
|
|
Loading…
Reference in New Issue