diff options
Diffstat (limited to 'lua/vis.lua')
| -rw-r--r-- | lua/vis.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/vis.lua b/lua/vis.lua index dd17192..699d2e2 100644 --- a/lua/vis.lua +++ b/lua/vis.lua @@ -103,7 +103,7 @@ end -- Checks whether a subsequent @{require} call will succeed. -- @tparam string name the module name to check -- @treturn bool whether the module was found -vis.module_exist = function(vis, name) +vis.module_exist = function(_, name) for _, searcher in ipairs(package.searchers or package.loaders) do local loader = searcher(name) if type(loader) == 'function' then |
