Skip to content

Commit fb3f3df

Browse files
committed
replace buffer silently
1 parent b2fcaed commit fb3f3df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/clang_format.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ function! clang_format#replace(line1, line2)
184184
endif
185185

186186
call setreg('g', formatted[i+1:], 'V')
187-
undojoin | normal! 2gg"_dG
188-
put g
187+
undojoin | silent normal! 2gg"_dG
188+
silent put g
189189
catch
190190
" Fallback:
191191
" The previous way. It lets the cursor move to the first line

0 commit comments

Comments
 (0)