Permalink
Browse files

Merge pull request #78: Bug fix for accelerated highlighting using Py…

…thon
  • Loading branch information...
xolox committed Jun 16, 2014
2 parents 9713f0a + ed29502 commit 110673aeb7b401f942c31154e013c19c684fcc11
Showing with 7 additions and 7 deletions.
  1. +2 −2 README.md
  2. +2 −2 autoload/xolox/easytags.vim
  3. +1 −1 doc/easytags.txt
  4. +2 −2 misc/easytags/highlight.py
View
@@ -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
@@ -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
View
@@ -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>.
===============================================================================
@@ -5,7 +5,7 @@
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:

0 comments on commit 110673a

Please sign in to comment.