aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2014-06-16 21:38:55 +0200
committerPeter Odding <peter@peterodding.com>2014-06-16 21:38:55 +0200
commit110673aeb7b401f942c31154e013c19c684fcc11 (patch)
tree5691558fd76621a9f08f969cc551a1a0a4769801
parent9713f0a284921dc9782ae1c24dae03ce0c3f9901 (diff)
parented295020ae557161868208fe443fd7e6089639aa (diff)
downloadvim-easytags-110673aeb7b401f942c31154e013c19c684fcc11.tar.gz
Merge pull request #78: Bug fix for accelerated highlighting using Python
-rw-r--r--README.md4
-rw-r--r--autoload/xolox/easytags.vim4
-rw-r--r--doc/easytags.txt2
-rw-r--r--misc/easytags/highlight.py4
4 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index b3415c0..64bbdc3 100644
--- a/README.md
+++ b/README.md
@@ -313,8 +313,8 @@ If you have questions, bug reports, suggestions, etc. the author can be contacte
## License
-This software is licensed under the [MIT license](http://en.wikipedia.org/wiki/MIT_License).
-© 2013 Peter Odding &lt;<peter@peterodding.com>&gt;.
+This software is licensed under the [MIT license](http://en.wikipedia.org/wiki/MIT_License).
+© 2014 Peter Odding &lt;<peter@peterodding.com>&gt;.
[canon]: http://en.wikipedia.org/wiki/Canonicalization
diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim
index b639bbf..fd6127c 100644
--- a/autoload/xolox/easytags.vim
+++ b/autoload/xolox/easytags.vim
@@ -1,9 +1,9 @@
" Vim script
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: September 1, 2013
+" Last Change: June 16, 2014
" URL: http://peterodding.com/code/vim/easytags/
-let g:xolox#easytags#version = '3.4.3'
+let g:xolox#easytags#version = '3.4.4'
" Plug-in initialization. {{{1
diff --git a/doc/easytags.txt b/doc/easytags.txt
index 0718994..1e0c037 100644
--- a/doc/easytags.txt
+++ b/doc/easytags.txt
@@ -647,7 +647,7 @@ easytags. If you like this plug-in please vote for it on Vim Online [21].
*easytags-license*
License ~
-This software is licensed under the MIT license [22]. Š 2013 Peter Odding
+This software is licensed under the MIT license [22]. Š 2014 Peter Odding
<peter@peterodding.com>.
===============================================================================
diff --git a/misc/easytags/highlight.py b/misc/easytags/highlight.py
index 6053726..1c391a3 100644
--- a/misc/easytags/highlight.py
+++ b/misc/easytags/highlight.py
@@ -5,7 +5,7 @@ syntax highlighting by reimplementing tag file reading and :syntax command
generation in Python with a focus on doing the least amount of work.
Author: Peter Odding <peter@peterodding.com>
-Last Change: August 31, 2013
+Last Change: March 8, 2014
URL: http://peterodding.com/code/vim/easytags
'''
@@ -39,7 +39,7 @@ def easytags_gensyncmd(tagsfiles, filetype, tagkinds, syntaxgroup, prefix, suffi
counter, limit = 0, 1024 * 20
to_escape = re.compile(r'[.*^$/\\~\[\]]')
for ident in matches.keys():
- escaped = to_escape.sub(r'\\\0', ident)
+ escaped = to_escape.sub(r'\\\g<0>', ident)
patterns.append(escaped)
counter += len(escaped)
if counter > limit: