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

remove logging

This commit is contained in:
jdhao 2021-12-30 23:38:49 +08:00
parent 0ed8814aef
commit 08818dbf01

View File

@ -177,7 +177,7 @@ function! utils#CaptureCommandOutput(command) abort
redir @m
silent! execute a:command
redir END
call v:lua.vim.notify("command output captured to register m", "info", {'title': 'nvim-config'})
"create a scratch buffer for dumping the text, ref: https://vi.stackexchange.com/a/11311/15292.
tabnew | setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile