diff options
Diffstat (limited to 'runtime/lua/vim/loader.lua')
-rw-r--r-- | runtime/lua/vim/loader.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/lua/vim/loader.lua b/runtime/lua/vim/loader.lua index e86d33bf53..75adee344d 100644 --- a/runtime/lua/vim/loader.lua +++ b/runtime/lua/vim/loader.lua @@ -59,8 +59,6 @@ local Loader = { VERSION = 4, ---@type table<string, table<string,vim.loader.ModuleInfo>> _indexed = {}, - ---@type table<string, string[]> - _topmods = {}, _loadfile = loadfile, ---@type LoaderStats _stats = { @@ -466,10 +464,6 @@ function Loader.lsmod(path) end if topname then Loader._indexed[path][topname] = { modpath = modpath, modname = topname } - Loader._topmods[topname] = Loader._topmods[topname] or {} - if not vim.list_contains(Loader._topmods[topname], path) then - table.insert(Loader._topmods[topname], path) - end end end end |