mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
fix parameter for vim.notify
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user