diff options
| author | jdhao <jdhao@hotmail.com> | 2021-10-18 22:32:38 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-10-18 22:32:38 +0800 |
| commit | 646453939941d92b077af56ce1d40793120bf97a (patch) | |
| tree | 6911802748db0288dfc9b898cc958bbd13e5aea5 /core/ui.vim | |
| parent | 30ca579ee9eeb38bc759007fc3d16e52b0e43d3e (diff) | |
nvim-notify update
Diffstat (limited to 'core/ui.vim')
| -rw-r--r-- | core/ui.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/ui.vim b/core/ui.vim index 9af4743..415b927 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -91,10 +91,11 @@ 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 - echomsg "Currently loaded theme:" s:theme + let s:msg1 = "Currently loaded theme: " . s:theme + call v:lua.vim.notify(s:msg1, 'info', {'title': 'nvim-config'}) else let s:msg = "Invalid colorscheme function: " . s:colorscheme_func - call v:lua.vim.notify(s:msg, 'error', {'title': 'nvim-config', 'timeout': 2500}) + call v:lua.vim.notify(s:msg, 'error', {'title': 'nvim-config'}) endif "}} "} |
