Skip to content

Commit 77be224

Browse files
committed
do not pollute x register
1 parent 31ed9a7 commit 77be224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/clang_format.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function! clang_format#replace(line1, line2, ...) abort
236236

237237
silent! undojoin
238238
if line('$') > len(splitted)
239-
execute len(splitted) .',$delete'
239+
execute len(splitted) .',$delete' '_'
240240
endif
241241
call setline(1, splitted)
242242
call winrestview(winview)

0 commit comments

Comments
 (0)