1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

add notification for Redir command

This commit is contained in:
jdhao 2021-10-23 20:57:00 +08:00
parent 841429da33
commit 51a004e865

View File

@ -182,6 +182,7 @@ function! utils#CaptureCommandOutput(command) abort
redir @m
execute a:command
redir END
call v:lua.vim.notify("command output captured to register m", "info", {'title': 'nvim-config'})
endfunction
" Edit all files matching the given patterns.