mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Do not run ex commands unnecessarily via normal mode.
This commit is contained in:
@@ -466,9 +466,9 @@ function! s:populate_hunk_preview_window(header, body)
|
|||||||
let b:hunk_header = a:header
|
let b:hunk_header = a:header
|
||||||
execute 'resize' height
|
execute 'resize' height
|
||||||
|
|
||||||
execute "%delete_"
|
%delete _
|
||||||
call setline(1, a:body)
|
call setline(1, a:body)
|
||||||
normal! gg
|
1
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user