registering a filetype lazy load condition should happen on self not the...
lazy_loader
This commit is contained in:
parent
cfc3f08d53
commit
542298c1fe
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ end
|
||||||
--- create an auto command which will trigger on filetype
|
--- create an auto command which will trigger on filetype
|
||||||
---@param filetype string filetype to register the auto on
|
---@param filetype string filetype to register the auto on
|
||||||
function lazy_loader:ft(filetype)
|
function lazy_loader:ft(filetype)
|
||||||
lazy_loader:auto("FileType", {
|
self:auto("FileType", {
|
||||||
pattern = filetype
|
pattern = filetype
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue