Skip to content

Commit 632b58f

Browse files
committed
fix(au): on_buffilepost trigger at :term
1 parent 21c977e commit 632b58f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

plugin/gitgutter.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ function! s:on_buffilepre(bufnr)
264264
endfunction
265265

266266
function! s:on_buffilepost(bufnr)
267+
!empty(&buftype) && return
268+
267269
if len(s:renaming) > 1
268270
if s:renaming[0] != a:bufnr
269271
throw 'gitgutter rename error ' . s:renaming[0] . ' ' . a:bufnr

0 commit comments

Comments
 (0)