11" Vim plug-in
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: October 29, 2011
3+ " Last Change: April 19, 2013
44" URL: http://peterodding.com/code/vim/easytags/
55" Requires: Exuberant Ctags (http://ctags.sf.net)
66
@@ -70,7 +70,8 @@ function! s:InitEasyTags(version)
7070 endif
7171 else
7272 " Exuberant Ctags can be installed under multiple names:
73- " - On Ubuntu Linux, Exuberant Ctags is installed as `ctags'.
73+ " - On Ubuntu Linux, Exuberant Ctags is installed as `ctags-exuberant'
74+ " (and possibly `ctags' but that one can't be trusted :-)
7475 " - On Debian Linux, Exuberant Ctags is installed as `exuberant-ctags'.
7576 " - On Free-BSD, Exuberant Ctags is installed as `exctags'.
7677 " IIUC on Mac OS X the program /usr/bin/ctags is installed by default but
@@ -80,7 +81,7 @@ function! s:InitEasyTags(version)
8081 " some frustration the plug-in will search the path and consider every
8182 " possible location, meaning that as long as Exuberant Ctags is installed
8283 " in the $PATH the plug-in should find it automatically.
83- for program in xolox#misc#path#which (' ctags' , ' exuberant- ctags' , ' exctags' )
84+ for program in xolox#misc#path#which (' exuberant- ctags' , ' ctags-exuberant ' , ' ctags' , ' exctags' )
8485 if s: CheckCtags (program, a: version )
8586 let g: easytags_cmd = program
8687 return 1
0 commit comments