Skip to content

Commit

Permalink
fix(loader): getscriptinfo compat with stable. Fixes #944
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jul 22, 2023
1 parent ed15f6b commit e428c5e
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 @@ -266,7 +266,7 @@ function M.reload(plugin)
end

-- reload any vimscript files for this plugin
local scripts = vim.fn.getscriptinfo({ name = ".vim" })
local scripts = vim.fn.getscriptinfo()
local loaded_scripts = {}
for _, s in ipairs(scripts) do
---@type string
Expand Down

0 comments on commit e428c5e

Please sign in to comment.