diff options
author | Peter Odding <peter@peterodding.com> | 2013-04-19 03:15:28 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2013-04-19 03:15:28 +0200 |
commit | d713d07c67fa5e67f4b3a441951ec25d95f6b193 (patch) | |
tree | 82df04ae8c27232e213e744d1ce1b8dad39bad10 | |
parent | 43ae6d7b7195517a9b91dc19464c2ff9112ccb55 (diff) | |
download | vim-easytags-d713d07c67fa5e67f4b3a441951ec25d95f6b193.tar.gz |
Add `ctags-exuberant' to the list of program names (closes issue #39)
-rw-r--r-- | autoload/xolox/easytags.vim | 4 | ||||
-rw-r--r-- | plugin/easytags.vim | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 0380956..da73673 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -3,7 +3,7 @@ " Last Change: April 19, 2013 " URL: http://peterodding.com/code/vim/easytags/ -let g:xolox#easytags#version = '3.1' +let g:xolox#easytags#version = '3.1.1' " Public interface through (automatic) commands. {{{1 @@ -33,7 +33,7 @@ function! xolox#easytags#register(global) " {{{2 endif endif endfunction - + " The localtime() when the CursorHold event last fired. let s:last_automatic_run = 0 diff --git a/plugin/easytags.vim b/plugin/easytags.vim index 344413e..935ef40 100644 --- a/plugin/easytags.vim +++ b/plugin/easytags.vim @@ -1,6 +1,6 @@ " Vim plug-in " Author: Peter Odding <peter@peterodding.com> -" Last Change: October 29, 2011 +" Last Change: April 19, 2013 " URL: http://peterodding.com/code/vim/easytags/ " Requires: Exuberant Ctags (http://ctags.sf.net) @@ -70,7 +70,8 @@ function! s:InitEasyTags(version) endif else " Exuberant Ctags can be installed under multiple names: - " - On Ubuntu Linux, Exuberant Ctags is installed as `ctags'. + " - On Ubuntu Linux, Exuberant Ctags is installed as `ctags-exuberant' + " (and possibly `ctags' but that one can't be trusted :-) " - On Debian Linux, Exuberant Ctags is installed as `exuberant-ctags'. " - On Free-BSD, Exuberant Ctags is installed as `exctags'. " IIUC on Mac OS X the program /usr/bin/ctags is installed by default but @@ -80,7 +81,7 @@ function! s:InitEasyTags(version) " some frustration the plug-in will search the path and consider every " possible location, meaning that as long as Exuberant Ctags is installed " in the $PATH the plug-in should find it automatically. - for program in xolox#misc#path#which('ctags', 'exuberant-ctags', 'exctags') + for program in xolox#misc#path#which('exuberant-ctags', 'ctags-exuberant', 'ctags', 'exctags') if s:CheckCtags(program, a:version) let g:easytags_cmd = program return 1 |