Don't apply `g:lualine` config if config given to setup function

This commit is contained in:
shadmansaleh 2021-05-02 10:33:25 +06:00
parent f08e8514dd
commit 39102109b8
1 changed files with 3 additions and 1 deletions

View File

@ -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()