fix: typo functon -> function (#191)

This commit is contained in:
Shadman 2021-04-23 01:09:34 +06:00 committed by GitHub
parent e6cc09c2e9
commit 2f17e432ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ end
local function component_loader(component)
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
if type(component[1]) == 'string' then
-- load the component