diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-24 14:53:48 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-24 14:53:48 +0800 |
| commit | f7475f3e4fb01d5a34b0eec3ebff18981e910e87 (patch) | |
| tree | c6df470308f67c4204390a40577788d5de5d6144 /core/ui.vim | |
| parent | b0eb7c4508599a7eace480d89e764612664839a3 (diff) | |
Refactor: use a unified log function
Diffstat (limited to 'core/ui.vim')
| -rw-r--r-- | core/ui.vim | 4 |
1 files changed, 1 insertions, 3 deletions
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 "}} "} |
