Always correctly show sort order

This commit is contained in:
Jan Larres 2013-07-17 16:49:22 +12:00
parent dacf4f273e
commit f36e0d3d39

View File

@ -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]'