1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
local M = {}
M.config = function()
options.builtin.lualine = {
active = true,
style = "options",
options = {
icons_enabled = nil,
component_separators = nil,
section_separators = nil,
theme = nil,
disabled_filetypes = nil,
},
sections = {
lualine_a = nil,
lualine_b = nil,
lualine_c = nil,
lualine_x = nil,
lualine_y = nil,
lualine_z = nil,
},
inactive_sections = {
lualine_a = nil,
lualine_b = nil,
lualine_c = nil,
lualine_x = nil,
lualine_y = nil,
lualine_z = nil,
},
tabline = nil,
extensions = nil,
on_config_done = nil,
}
end
M.setup = function()
require("core.lualine.styles").update()
require("core.lualine.utils").validate_theme()
local lualine = require "lualine"
lualine.setup(options.builtin.lualine)
if options.builtin.lualine.on_config_done then
options.builtin.lualine.on_config_done(lualine)
end
end
return M
|