aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/easytags.vim
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2013-06-17 23:48:56 +0200
committerPeter Odding <peter@peterodding.com>2013-06-17 23:48:56 +0200
commit3050c9b36c2591b1ef904d0d187b72a1c9cd4177 (patch)
tree5ff19ff20d797962b11710fab3fc3a8843d90746 /plugin/easytags.vim
parent7916b461688f25b84c2e8e6185124200474f0a1b (diff)
downloadvim-easytags-3050c9b36c2591b1ef904d0d187b72a1c9cd4177.tar.gz
Bug fix: Don't highlight C tags inside #if 0 (issue #57)
$VIMRUNTIME/syntax/c.vim is a bit of a mess, I can't make heads or tails of it :-). In my simple #if 0 / #if 1 / #else tests this fixes the issue, but I'm not sure that there are no corner cases left. See issue #57 on GitHub: https://github.com/xolox/vim-easytags/issues/57
Diffstat (limited to 'plugin/easytags.vim')
-rw-r--r--plugin/easytags.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/easytags.vim b/plugin/easytags.vim
index 64361a7..8e4f8c9 100644
--- a/plugin/easytags.vim
+++ b/plugin/easytags.vim
@@ -1,6 +1,6 @@
" Vim plug-in
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: May 13, 2013
+" Last Change: June 17, 2013
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
@@ -41,7 +41,7 @@ if !exists('g:easytags_ignored_filetypes')
endif
if !exists('g:easytags_ignored_syntax_groups')
- let g:easytags_ignored_syntax_groups = '.*String.*,.*Comment.*,cIncluded'
+ let g:easytags_ignored_syntax_groups = '.*String.*,.*Comment.*,cIncluded,cCppInElse2,cCppOutIf2'
endif
if !exists('g:easytags_python_script')