We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e821e commit b42e0cfCopy full SHA for b42e0cf
lua/plenary/reload.lua
@@ -1,6 +1,11 @@
1
local reload = {}
2
3
reload.reload_module = function(module_name, starts_with_only)
4
+ -- Default to starts with only
5
+ if starts_with_only == nil then
6
+ starts_with_only = true
7
+ end
8
+
9
-- TODO: Might need to handle cpath / compiled lua packages? Not sure.
10
local matcher
11
if not starts_with_only then
0 commit comments