aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2010-11-20 09:41:56 +0100
committerPeter Odding <peter@peterodding.com>2010-11-20 09:41:56 +0100
commitae3eb31b705401d21f9f643924dc358a12658b61 (patch)
tree5ee230efb28f201319dabe073c5ca78f0f9ec40a
parent8751e207fcaaba7ab0ceaafb657d29c2d8618a9e (diff)
downloadvim-easytags-ae3eb31b705401d21f9f643924dc358a12658b61.tar.gz
Don't highlight tags inside #include <...>
-rw-r--r--README.md2
-rw-r--r--autoload.vim4
-rw-r--r--easytags.vim4
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 <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).
+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).
## 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 <peter@peterodding.com>
-" Last Change: September 6, 2010
+" Last Change: October 23, 2010
" URL: http://peterodding.com/code/vim/easytags/
let s:script = expand('<sfile>: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 <peter@peterodding.com>
-" 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