From ae3eb31b705401d21f9f643924dc358a12658b61 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sat, 20 Nov 2010 09:41:56 +0100 Subject: Don't highlight tags inside #include <...> --- README.md | 2 +- autoload.vim | 4 ++-- easytags.vim | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a9f13cd..9dbd7f2 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ Once you've executed the above command, Vim will automatically look for a file n ## Contact -If you have questions, bug reports, suggestions, etc. the author can be contacted at . The latest version is available at and . If you like this plug-in please vote for it on [www.vim.org](http://www.vim.org/scripts/script.php?script_id=3114). +If you have questions, bug reports, suggestions, etc. the author can be contacted at . The latest version is available at and . If you like this plug-in please vote for it on [Vim Online](http://www.vim.org/scripts/script.php?script_id=3114). ## License diff --git a/autoload.vim b/autoload.vim index 397cada..746e894 100644 --- a/autoload.vim +++ b/autoload.vim @@ -1,6 +1,6 @@ " Vim script " Author: Peter Odding -" Last Change: September 6, 2010 +" Last Change: October 23, 2010 " URL: http://peterodding.com/code/vim/easytags/ let s:script = expand(':p:~') @@ -227,7 +227,7 @@ function! easytags#highlight() " {{{2 if matches != [] call map(matches, 'xolox#escape#pattern(get(v:val, "name"))') let pattern = tagkind.pattern_prefix . '\%(' . join(xolox#unique(matches), '\|') . '\)' . tagkind.pattern_suffix - let template = 'syntax match %s /%s/ containedin=ALLBUT,.*String.*,.*Comment.*' + let template = 'syntax match %s /%s/ containedin=ALLBUT,.*String.*,.*Comment.*,cIncluded' let command = printf(template, hlgroup_tagged, escape(pattern, '/')) try execute command diff --git a/easytags.vim b/easytags.vim index 9cd4e28..8551e0e 100644 --- a/easytags.vim +++ b/easytags.vim @@ -1,10 +1,10 @@ " Vim plug-in " Author: Peter Odding -" Last Change: September 6, 2010 +" Last Change: November 20, 2010 " URL: http://peterodding.com/code/vim/easytags/ " Requires: Exuberant Ctags (http://ctags.sf.net) " License: MIT -" Version: 2.1.7 +" Version: 2.1.8 " Support for automatic update using the GLVS plug-in. " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip -- cgit v1.2.3