From f7475f3e4fb01d5a34b0eec3ebff18981e910e87 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 24 Jul 2021 14:53:48 +0800 Subject: Refactor: use a unified log function --- core/ui.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/ui.vim') diff --git a/core/ui.vim b/core/ui.vim index aa31bf0..919d3e3 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -61,9 +61,7 @@ let s:colorscheme_func = printf('s:my_theme_dict.%s()', s:theme) if has_key(s:my_theme_dict, s:theme) execute 'call ' . s:colorscheme_func else - echohl WarningMsg - echomsg 'Invalid colorscheme function: ' s:colorscheme_func - echohl None + call utils#Log('Invalid colorscheme function: ' . s:colorscheme_func, 'error') endif "}} "} -- cgit v1.2.3