diff options
author | Peter Odding <peter@peterodding.com> | 2010-06-09 08:28:05 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2010-06-09 08:28:05 +0200 |
commit | 61b99f078557d65331e72de60d145e16b8bbb88e (patch) | |
tree | 33d293b0331c46464093adbc8dc2bca23f154366 /doc | |
parent | cfeac5a045f38799edf3076211eb791e39a5dee6 (diff) | |
download | vim-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 'doc')
0 files changed, 0 insertions, 0 deletions