commands get rerun by default now
This commit is contained in:
@ -217,10 +217,17 @@ is equivalent to the following:
|
||||
load:cmd("Command", {
|
||||
callback = function()
|
||||
load:cleanup()
|
||||
|
||||
if (rerun) then
|
||||
vim.cmd("Command")
|
||||
end
|
||||
end
|
||||
})
|
||||
<
|
||||
If you wish the second argument may be completely ommitted.
|
||||
If you wish the second argument may be completely ommitted. Note the inclusion
|
||||
of a `rerun` field, this is a parameter which may be passed into the options table
|
||||
to re-run the binding after loading the package. You may choose to disable the
|
||||
built-in logic by passing false.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
LOAD:AUTO *dep-lazy-loading-api-auto*
|
||||
|
Reference in New Issue
Block a user