aboutsummaryrefslogtreecommitdiffstats
path: root/easytags.vim
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2010-06-09 08:28:05 +0200
committerPeter Odding <peter@peterodding.com>2010-06-09 08:28:05 +0200
commit61b99f078557d65331e72de60d145e16b8bbb88e (patch)
tree33d293b0331c46464093adbc8dc2bca23f154366 /easytags.vim
parentcfeac5a045f38799edf3076211eb791e39a5dee6 (diff)
downloadvim-easytags-61b99f078557d65331e72de60d145e16b8bbb88e.tar.gz
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++.
Diffstat (limited to 'easytags.vim')
-rw-r--r--easytags.vim4
1 files changed, 2 insertions, 2 deletions
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 <peter@peterodding.com>
-" 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