diff options
Diffstat (limited to 'core/themes.vim')
| -rw-r--r-- | core/themes.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/themes.vim b/core/themes.vim index d1aa961..7bfc588 100644 --- a/core/themes.vim +++ b/core/themes.vim @@ -85,8 +85,10 @@ 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 - let s:msg1 = "Currently loaded theme: " . s:theme - call v:lua.vim.notify(s:msg1, 'info', {'title': 'nvim-config'}) + if g:logging_level == 'debug' + let s:msg1 = "Currently loaded theme: " . s:theme + call v:lua.vim.notify(s:msg1, 'info', {'title': 'nvim-config'}) + endif else let s:msg = "Invalid colorscheme function: " . s:colorscheme_func call v:lua.vim.notify(s:msg, 'error', {'title': 'nvim-config'}) |
