Don't apply `g:lualine` config if config given to setup function
This commit is contained in:
parent
f08e8514dd
commit
39102109b8
|
@ -273,7 +273,9 @@ local function set_statusline()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function setup(user_config)
|
local function setup(user_config)
|
||||||
|
if not user_config then
|
||||||
apply_configuration(vim.g.lualine)
|
apply_configuration(vim.g.lualine)
|
||||||
|
end
|
||||||
apply_configuration(user_config)
|
apply_configuration(user_config)
|
||||||
check_single_separator()
|
check_single_separator()
|
||||||
setup_theme()
|
setup_theme()
|
||||||
|
|
Loading…
Reference in New Issue