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 --- core/mappings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/mappings.vim b/core/mappings.vim index 11e13fa..23fe1ee 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -90,7 +90,7 @@ inoremap pumvisible() ? "\" : "\" " Edit and reload nvim config file quickly nnoremap ev :tabnew $MYVIMRC tcd %:h nnoremap sv :silent update $MYVIMRC source $MYVIMRC - \ call v:lua.vim.notify("Nvim config successfully reloaded!", 'info', {'title': 'nvim-config'}) + \ call v:lua.vim.notify("Nvim config successfully reloaded!", 2, {'title': 'nvim-config'}) " Reselect the text that has just been pasted, see also https://stackoverflow.com/a/4317090/6064933. nnoremap v printf('`[%s`]', getregtype()[0]) -- cgit v1.2.3