aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-08-26 19:47:56 +0800
committerjdhao <jdhao@hotmail.com>2022-08-26 19:47:56 +0800
commitbc9b0a8cf84fe5648d90412fe9c34a1b405f2e21 (patch)
tree741253dc8ffa7953cf466b20b5de4e5f107b69fc /core
parentfb9a0bb2ddb689066e6ba1a827f2b1b27fe672ca (diff)
fix parameter for vim.notify
Diffstat (limited to 'core')
-rw-r--r--core/mappings.vim2
1 files changed, 1 insertions, 1 deletions
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 <expr> <s-tab> pumvisible() ? "\<c-p>" : "\<s-tab>"
" Edit and reload nvim config file quickly
nnoremap <silent> <leader>ev :<C-U>tabnew $MYVIMRC <bar> tcd %:h<cr>
nnoremap <silent> <leader>sv :<C-U>silent update $MYVIMRC <bar> source $MYVIMRC <bar>
- \ call v:lua.vim.notify("Nvim config successfully reloaded!", 'info', {'title': 'nvim-config'})<cr>
+ \ call v:lua.vim.notify("Nvim config successfully reloaded!", 2, {'title': 'nvim-config'})<cr>
" Reselect the text that has just been pasted, see also https://stackoverflow.com/a/4317090/6064933.
nnoremap <expr> <leader>v printf('`[%s`]', getregtype()[0])