From bc9b0a8cf84fe5648d90412fe9c34a1b405f2e21 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 26 Aug 2022 19:47:56 +0800 Subject: fix parameter for vim.notify --- autoload/buf_utils.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload') diff --git a/autoload/buf_utils.vim b/autoload/buf_utils.vim index 37e7a75..4af0ba6 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, 4, {'title': 'nvim-config'}) return endif -- cgit v1.2.3