diff --git a/lua/lualine/components/special/functon_component.lua b/lua/lualine/components/special/function_component.lua similarity index 100% rename from lua/lualine/components/special/functon_component.lua rename to lua/lualine/components/special/function_component.lua diff --git a/lua/lualine/init.lua b/lua/lualine/init.lua index 94dd1e1..8608664 100644 --- a/lua/lualine/init.lua +++ b/lua/lualine/init.lua @@ -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