From 3050c9b36c2591b1ef904d0d187b72a1c9cd4177 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Mon, 17 Jun 2013 23:48:56 +0200 Subject: 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 --- plugin/easytags.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') 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 -" 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') -- cgit v1.2.3