aboutsummaryrefslogtreecommitdiff
path: root/autoload/utils.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/utils.vim')
-rw-r--r--autoload/utils.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/utils.vim b/autoload/utils.vim
index 8f528fb..5e762f3 100644
--- a/autoload/utils.vim
+++ b/autoload/utils.vim
@@ -175,7 +175,7 @@ endfunction
" Ref: https://stackoverflow.com/q/2573021/6064933 and https://unix.stackexchange.com/q/8101/221410 .
function! utils#CaptureCommandOutput(command) abort
redir @m
- execute a:command
+ 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.