From 72a8753b5d0a951e547c51b13633f680a95b5483 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Wed, 1 Jul 2015 23:36:52 +0200 Subject: Try to support `Universal Ctags' (issue #123) Refer to issue 123 on GitHub for details: https://github.com/xolox/vim-easytags/issues/123 --- autoload/xolox/easytags.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'autoload/xolox') diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 1f535ca..d0dec21 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -1,9 +1,9 @@ " Vim script " Author: Peter Odding -" 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' -- cgit v1.2.3