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:
parent
b0da16addd
commit
85545bd192
|
@ -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
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue