refactor: add utils to the global scope
This commit is contained in:
@@ -51,8 +51,7 @@ options.icon_styles = {
|
||||
},
|
||||
}
|
||||
|
||||
options.separator_style =
|
||||
options.icon_styles[require("core.utils").load_config().plugins.options.statusline.separator_style]
|
||||
options.separator_style = options.icon_styles[nvchad.load_config().plugins.options.statusline.separator_style]
|
||||
|
||||
options.main_icon = {
|
||||
provider = options.separator_style.main_icon,
|
||||
@@ -345,7 +344,7 @@ options.current_line = {
|
||||
},
|
||||
}
|
||||
|
||||
options = require("core.utils").load_override(options, "feline-nvim/feline.nvim")
|
||||
options = nvchad.load_override(options, "feline-nvim/feline.nvim")
|
||||
|
||||
local function add_table(tbl, inject)
|
||||
if inject then
|
||||
|
||||
Reference in New Issue
Block a user