mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-23 20:49:34 +08:00
Fix compare bug.
This commit is contained in:
parent
dda2103363
commit
e5e761b64a
|
@ -482,7 +482,7 @@ function! s:GetChildTags(tags, pscopetype, pscope, pname, typeinfo)
|
|||
|
||||
" Script-local variable needed since compare functions can't
|
||||
" take extra arguments
|
||||
let s:compare_typeinfo = typeinfo
|
||||
let s:compare_typeinfo = a:typeinfo
|
||||
|
||||
if g:tagbar_sort
|
||||
call sort(childtags, 's:CompareByKind')
|
||||
|
|
Loading…
Reference in New Issue
Block a user