fix: typo functon -> function (#191)
This commit is contained in:
parent
e6cc09c2e9
commit
2f17e432ee
|
@ -59,7 +59,7 @@ end
|
||||||
|
|
||||||
local function component_loader(component)
|
local function component_loader(component)
|
||||||
if type(component[1]) == 'function' then
|
if type(component[1]) == 'function' then
|
||||||
return require 'lualine.components.special.functon_component':new(component)
|
return require 'lualine.components.special.function_component':new(component)
|
||||||
end
|
end
|
||||||
if type(component[1]) == 'string' then
|
if type(component[1]) == 'string' then
|
||||||
-- load the component
|
-- load the component
|
||||||
|
|
Loading…
Reference in New Issue