fix(loader): getscriptinfo compat with stable. Fixes #944

This commit is contained in:
Folke Lemaitre 2023-07-22 08:24:24 +02:00
parent ed15f6b394
commit e428c5ee4b
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -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