From 42a0663184cb356d4e662956a2b8f04c3b38007b Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 20 Aug 2021 01:12:35 +0800 Subject: Reduce timeout for nvim-notify --- autoload/buf_utils.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/buf_utils.vim') 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 -- cgit v1.2.3