1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

Fix depth bug

This commit is contained in:
Jan Larres
2011-02-07 17:58:33 +13:00
parent b4b8eef2b0
commit 7081192a8f

View File

@@ -881,8 +881,8 @@ function! s:ParseTagline(part1, part2, typeinfo)
break
endif
endfor
let taginfo.depth = len(split(taginfo.path, '\V' . a:typeinfo.sro))
endif
let taginfo.depth = len(split(taginfo.path, '\V' . a:typeinfo.sro))
return taginfo
endfunction