From eabc175e8d7649f0d3308e8bec57f876107b8335 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 23 Aug 2022 12:32:59 -0600 Subject: Better handling for substitute and command. --- plugin/command.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/command.vim') diff --git a/plugin/command.vim b/plugin/command.vim index 51633b5..db18cf3 100644 --- a/plugin/command.vim +++ b/plugin/command.vim @@ -10,5 +10,5 @@ function! s:do_command_around(str) abort let [_, lnum0, _, _] = getpos("'[") let [_, lnum1, _, _] = getpos("']") - call feedkeys(printf(":%d,%d ", lnum0, lnum1)) + call feedkeys(printf(":silent! %d,%d ", lnum0, lnum1)) endfunction -- cgit