diff options
| author | jdhao <jdhao@hotmail.com> | 2021-08-20 01:12:35 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-08-20 01:12:35 +0800 |
| commit | 42a0663184cb356d4e662956a2b8f04c3b38007b (patch) | |
| tree | e9571d77549ac9252fd52c3c111a206b381e95a4 /core/ui.vim | |
| parent | 30774cac5bc02ab8638ac7667e5eee8e0f41a9a6 (diff) | |
Reduce timeout for nvim-notify
Diffstat (limited to 'core/ui.vim')
| -rw-r--r-- | core/ui.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ui.vim b/core/ui.vim index a81a025..a1723f0 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -70,7 +70,8 @@ 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 - call v:lua.vim.notify('Invalid colorscheme function: ' . s:colorscheme_func, 'error', {'title': 'nvim-config'}) + let s:msg = "Invalid colorscheme function: " . s:colorscheme_func + call v:lua.vim.notify(s:msg, 'error', {'title': 'nvim-config', 'timeout': 2500}) endif "}} "} |
