mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Fix sorting bug
This commit is contained in:
@@ -382,13 +382,11 @@ function! s:ProcessFile(fname, ftype)
|
||||
" take extra arguments
|
||||
let s:compare_typeinfo = typeinfo
|
||||
|
||||
for tag in fileinfo.tags
|
||||
if g:tagbar_sort
|
||||
call s:SortTags(fileinfo.tags, 's:CompareByKind')
|
||||
else
|
||||
call s:SortTags(fileinfo.tags, 's:CompareByLine')
|
||||
endif
|
||||
endfor
|
||||
if g:tagbar_sort
|
||||
call s:SortTags(fileinfo.tags, 's:CompareByKind')
|
||||
else
|
||||
call s:SortTags(fileinfo.tags, 's:CompareByLine')
|
||||
endif
|
||||
|
||||
let s:known_files[a:fname] = fileinfo
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user