From 61b99f078557d65331e72de60d145e16b8bbb88e Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Wed, 9 Jun 2010 08:28:05 +0200 Subject: Alias support & defaults for C/C++/Obj-C/Obj-C++ In my ~/.vimrc I've set the following: :let c_syntax_for_h = 1 Which means easytags.vim will also scan *.h files as C source-code. However Exuberant Ctags by default scans *.h files as C++, so when you update your global tags file as follows from the command-line: ctags -af ~/.vimtags /usr/include/lua5.1/*.h Which I happened to try today, the new tags won't be highlighted in your C source-code because Exuberant Ctags thinks it's C++ and Vim doesn't know otherwise. I've now added support for aliases between file types and added a default set of aliases between C, C++, Obj-C and Obj-C++. --- easytags.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'easytags.vim') diff --git a/easytags.vim b/easytags.vim index 9373d9a..9dc58ea 100644 --- a/easytags.vim +++ b/easytags.vim @@ -1,10 +1,10 @@ " Vim plug-in " Maintainer: Peter Odding -" Last Change: June 8, 2010 +" Last Change: June 9, 2010 " URL: http://peterodding.com/code/vim/easytags " Requires: Exuberant Ctags (http://ctags.sf.net) " License: MIT -" Version: 1.6 +" Version: 1.7 " Support for automatic update using the GLVS plug-in. " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip -- cgit v1.2.3