fix: too early setup on initial extension access (#1601)

This commit is contained in:
fdschmidt93
2021-12-27 17:55:43 +01:00
committed by GitHub
parent 88437804e1
commit 3dafcb419b
3 changed files with 17 additions and 11 deletions

View File

@@ -93,6 +93,8 @@ function telescope.register_extension(mod)
end
--- Load an extension.
--- - Notes:
--- - Loading triggers ext setup via the config passed in |telescope.setup|
---@param name string: Name of the extension
function telescope.load_extension(name)
return _extensions.load(name)