mirror of https://github.com/folke/lazy.nvim.git
fix(loader): getscriptinfo compat with stable. Fixes #944
This commit is contained in:
parent
ed15f6b394
commit
e428c5ee4b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue