aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2015-07-01 23:36:52 +0200
committerPeter Odding <peter@peterodding.com>2015-07-01 23:36:52 +0200
commit72a8753b5d0a951e547c51b13633f680a95b5483 (patch)
treec807d0d910e105d3f89b45f99782e3132b9034cc
parenta339a8c4409f547e3e2bfd1e1c48975536935b46 (diff)
downloadvim-easytags-72a8753b5d0a951e547c51b13633f680a95b5483.tar.gz
Try to support `Universal Ctags' (issue #123)
Refer to issue 123 on GitHub for details: https://github.com/xolox/vim-easytags/issues/123
-rw-r--r--autoload/xolox/easytags.vim6
1 files changed, 3 insertions, 3 deletions
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 <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'