registering a filetype lazy load condition should happen on self not the...
lazy_loader
This commit is contained in:
@ -71,7 +71,7 @@ end
|
||||
--- create an auto command which will trigger on filetype
|
||||
---@param filetype string filetype to register the auto on
|
||||
function lazy_loader:ft(filetype)
|
||||
lazy_loader:auto("FileType", {
|
||||
self:auto("FileType", {
|
||||
pattern = filetype
|
||||
})
|
||||
end
|
||||
|
Reference in New Issue
Block a user