Perf: move the files loaded at startup to &rtp/lua require is faster

renamed:    lualine/init.lua -> lualine.lua
renamed:    lualine/config.lua -> lualine_config.lua
This commit is contained in:
shadmansaleh 2021-08-30 18:41:53 +06:00
parent b0da16addd
commit 85545bd192
3 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ local modules = lualine_require.lazy_require{
utils_section = 'lualine.utils.section',
utils = 'lualine.utils.utils',
utils_notices = 'lualine.utils.notices',
config_module = 'lualine.config',
config_module = 'lualine_config',
}
local config -- Stores cureently applied config
local new_config = true -- Stores config that will be applied

View File

@ -1,7 +1,7 @@
local eq = assert.are.same
describe('config parsing', function()
local config_module = require 'lualine.config'
local config_module = require 'lualine_config'
describe('options', function()
describe('icons_enabled', function()