Skip to content

Commit a8dfbd9

Browse files
committed
Ignore refresh if signify is not active
1 parent 26e8c8d commit a8dfbd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoload/sy/util.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ endfunction
2424

2525
" #refresh_windows {{{1
2626
function! sy#util#refresh_windows() abort
27+
" return if signify is not active
28+
if empty(getbufvar(bufnr(''), 'sy'))
29+
return
30+
endif
2731
if exists('*win_getid')
2832
let winid = win_getid()
2933
else

0 commit comments

Comments
 (0)