Open wellcomez opened 3 years ago
I have pushed up a potential fix. There are a lot more than just the w:autoclose
that are not set. To properly fix this I think we'd need to call the s:InitWindow()
when a split occurs. The PR can be used as a baseline, but I haven't fully tested everything or fully examined the implications. On basic testing it does appear to fix the issue though and the split works successfully after this patch.
root cause at function! s:JumpToTag(stay_in_tagbar) abort let taginfo = s:GetTagInfo(line('.'), 1) let autoclose= w:autoclose
solution check whether w:autoclose existed