From f36e0d3d391f7ee252c53ed0f182a280bf15555d Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Wed, 17 Jul 2013 16:49:22 +1200 Subject: [PATCH] Always correctly show sort order --- autoload/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 596a1d6..695fcd9 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -3581,7 +3581,7 @@ endfunction " TagbarGenerateStatusline() {{{2 function! TagbarGenerateStatusline() abort - if g:tagbar_sort + if get(s:compare_typeinfo, 'sort', g:tagbar_sort) let text = '[Name]' else let text = '[Order]'