Skip to content

Commit 7bf165a

Browse files
committed
fix double undo (rhysd#98)
1 parent 6b79182 commit 7bf165a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

autoload/clang_format.vim

-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ function! clang_format#replace_ranges(ranges, ...) abort
262262
let winview = winsaveview()
263263
let splitted = split(formatted, '\n', 1)
264264

265-
silent! undojoin
266265
if line('$') > len(splitted)
267266
execute len(splitted) .',$delete' '_'
268267
endif

0 commit comments

Comments
 (0)