mirror of
https://github.com/gryf/.vim.git
synced 2025-12-18 03:50:30 +01:00
Updated buffergator and vcscommand plugins
This commit is contained in:
@@ -820,7 +820,15 @@ function! s:VCSAnnotate(bang, ...)
|
||||
endif
|
||||
let originalFileType = getbufvar(originalBuffer, '&ft')
|
||||
let annotateFileType = getbufvar(annotateBuffer, '&ft')
|
||||
execute "normal! 0zR\<c-v>G/" . splitRegex . "/e\<cr>d"
|
||||
|
||||
let saveselection = &selection
|
||||
set selection=inclusive
|
||||
try
|
||||
execute "normal! 0zR\<c-v>G/" . splitRegex . "/e\<cr>d"
|
||||
finally
|
||||
let &selection = saveselection
|
||||
endtry
|
||||
|
||||
call setbufvar('%', '&filetype', getbufvar(originalBuffer, '&filetype'))
|
||||
set scrollbind
|
||||
leftabove vert new
|
||||
|
||||
Reference in New Issue
Block a user