Skip to content
This repository
Browse code

Don't highlight tags inside #include <...>

  • Loading branch information...
commit ae3eb31b705401d21f9f643924dc358a12658b61 1 parent 8751e20
Peter Odding authored November 20, 2010
2  README.md
Source Rendered
@@ -152,7 +152,7 @@ Once you've executed the above command, Vim will automatically look for a file n
152 152
 
153 153
 ## Contact
154 154
 
155  
-If you have questions, bug reports, suggestions, etc. the author can be contacted at <peter@peterodding.com>. The latest version is available at <http://peterodding.com/code/vim/easytags/> and <http://github.com/xolox/vim-easytags>. If you like this plug-in please vote for it on [www.vim.org](http://www.vim.org/scripts/script.php?script_id=3114).
  155
+If you have questions, bug reports, suggestions, etc. the author can be contacted at <peter@peterodding.com>. The latest version is available at <http://peterodding.com/code/vim/easytags/> and <http://github.com/xolox/vim-easytags>. If you like this plug-in please vote for it on [Vim Online](http://www.vim.org/scripts/script.php?script_id=3114).
156 156
 
157 157
 ## License
158 158
 
4  autoload.vim
... ...
@@ -1,6 +1,6 @@
1 1
 " Vim script
2 2
 " Author: Peter Odding <peter@peterodding.com>
3  
-" Last Change: September 6, 2010
  3
+" Last Change: October 23, 2010
4 4
 " URL: http://peterodding.com/code/vim/easytags/
5 5
 
6 6
 let s:script = expand('<sfile>:p:~')
@@ -227,7 +227,7 @@ function! easytags#highlight() " {{{2
227 227
         if matches != []
228 228
           call map(matches, 'xolox#escape#pattern(get(v:val, "name"))')
229 229
           let pattern = tagkind.pattern_prefix . '\%(' . join(xolox#unique(matches), '\|') . '\)' . tagkind.pattern_suffix
230  
-          let template = 'syntax match %s /%s/ containedin=ALLBUT,.*String.*,.*Comment.*'
  230
+          let template = 'syntax match %s /%s/ containedin=ALLBUT,.*String.*,.*Comment.*,cIncluded'
231 231
           let command = printf(template, hlgroup_tagged, escape(pattern, '/'))
232 232
           try
233 233
             execute command
4  easytags.vim
... ...
@@ -1,10 +1,10 @@
1 1
 " Vim plug-in
2 2
 " Author: Peter Odding <peter@peterodding.com>
3  
-" Last Change: September 6, 2010
  3
+" Last Change: November 20, 2010
4 4
 " URL: http://peterodding.com/code/vim/easytags/
5 5
 " Requires: Exuberant Ctags (http://ctags.sf.net)
6 6
 " License: MIT
7  
-" Version: 2.1.7
  7
+" Version: 2.1.8
8 8
 
9 9
 " Support for automatic update using the GLVS plug-in.
10 10
 " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip

0 notes on commit ae3eb31

Please sign in to comment.
Something went wrong with that request. Please try again.