From e428c5ee4b02dfb39203ac8745a58c1226ceebae Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 22 Jul 2023 08:24:24 +0200 Subject: [PATCH] fix(loader): getscriptinfo compat with stable. Fixes #944 --- lua/lazy/core/loader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/core/loader.lua b/lua/lazy/core/loader.lua index ea1d143..caf9087 100644 --- a/lua/lazy/core/loader.lua +++ b/lua/lazy/core/loader.lua @@ -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