Skip to content

Commit d80e507

Browse files
authored
Merge pull request mhinz#364 from KapJI/fix-refresh
Ignore refresh if signify is not active
2 parents 26e8c8d + a8dfbd9 commit d80e507

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)