From e5e761b64ae7423715a0ae63597cc69bebf562fa Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Mon, 17 Jan 2011 17:09:55 +1300 Subject: [PATCH] Fix compare bug. --- plugin/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 67549ac..b9449b7 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -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')