diff options
| author | jdhao <jdhao@hotmail.com> | 2022-08-26 19:47:56 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-08-26 19:47:56 +0800 |
| commit | bc9b0a8cf84fe5648d90412fe9c34a1b405f2e21 (patch) | |
| tree | 741253dc8ffa7953cf466b20b5de4e5f107b69fc /core | |
| parent | fb9a0bb2ddb689066e6ba1a827f2b1b27fe672ca (diff) | |
fix parameter for vim.notify
Diffstat (limited to 'core')
| -rw-r--r-- | core/mappings.vim | 2 |
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]) |
