Permalink
Browse files

Try to support `Universal Ctags' (issue #123)

Refer to issue 123 on GitHub for details:
  #123
  • Loading branch information...
xolox committed Jul 1, 2015
1 parent a339a8c commit 72a8753b5d0a951e547c51b13633f680a95b5483
Showing with 3 additions and 3 deletions.
  1. +3 −3 autoload/xolox/easytags.vim
@@ -1,9 +1,9 @@
" Vim script
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: April 14, 2015
+" Last Change: July 1, 2015
" URL: http://peterodding.com/code/vim/easytags/
-let g:xolox#easytags#version = '3.10.1'
+let g:xolox#easytags#version = '3.11'
let g:xolox#easytags#default_pattern_prefix = '\C\<'
let g:xolox#easytags#default_pattern_suffix = '\>'
@@ -78,7 +78,7 @@ function! xolox#easytags#check_ctags_compatible(name, min_version) " {{{2
call xolox#misc#msg#debug("easytags.vim %s: Command '%s' returned nonzero exit code %i!", g:xolox#easytags#version, a:name, result['exit_code'])
else
" Extract the version number from the output.
- let pattern = 'Exuberant Ctags \zs\(\d\+\(\.\d\+\)*\|Development\)'
+ let pattern = '\(Exuberant\|Universal\) Ctags \zs\(\d\+\(\.\d\+\)*\|Development\)'
let g:easytags_ctags_version = matchstr(get(result['stdout'], 0, ''), pattern)
" Deal with development builds.
if g:easytags_ctags_version == 'Development'

0 comments on commit 72a8753

Please sign in to comment.