Accept ctags development versions

This commit is contained in:
Jan Larres 2011-10-15 18:40:27 +13:00
parent 22b2329720
commit fef95d7167

View File

@ -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]