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 /autoload | |
| parent | 30774cac5bc02ab8638ac7667e5eee8e0f41a9a6 (diff) | |
Reduce timeout for nvim-notify
Diffstat (limited to 'autoload')
| -rw-r--r-- | autoload/buf_utils.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/buf_utils.vim b/autoload/buf_utils.vim index 37e7a75..a9e58b6 100644 --- a/autoload/buf_utils.vim +++ b/autoload/buf_utils.vim @@ -15,7 +15,7 @@ function! buf_utils#GoToBuffer(count, direction) abort " we are essentially mixing Lua and vim script. We need to make sure that " args inside vim.notify() are valid vim values. The conversion from vim " value to lua value will be done by Nvim. See also https://github.com/neovim/neovim/pull/11338. - call v:lua.vim.notify('Invalid bufnr: ' . a:count, 'error', {'title': 'nvim-config'}) + call v:lua.vim.notify('Invalid bufnr: ' . a:count, 'error', {'title': 'nvim-config', 'timeout': 2500}) return endif |
