From 2f17e432ee85420adcf8e0a4ebf6e638657c4253 Mon Sep 17 00:00:00 2001 From: Shadman Date: Fri, 23 Apr 2021 01:09:34 +0600 Subject: [PATCH] fix: typo functon -> function (#191) --- .../special/{functon_component.lua => function_component.lua} | 0 lua/lualine/init.lua | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename lua/lualine/components/special/{functon_component.lua => function_component.lua} (100%) 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