mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-06 05:20:41 +02:00
Accept ctags development versions
This commit is contained in:
1 parent
22b2329720
commit
fef95d7167
1 file changed
+4
@@ -934,6 +934,10 @@ endfunction
|
||||
|
||||
" s:CheckExCtagsVersion() {{{2
|
||||
function! s:CheckExCtagsVersion(output)
|
||||
if a:output =~ 'Exuberant Ctags Development'
|
||||
return 1
|
||||
endif
|
||||
|
||||
let matchlist = matchlist(a:output, '\vExuberant Ctags (\d+)\.(\d+)')
|
||||
let major = matchlist[1]
|
||||
let minor = matchlist[2]
|
||||
|
||||
Reference in new issue
Block a user