Skip to content

Commit

Permalink
Merge pull request #78: Bug fix for accelerated highlighting using Py…
Browse files Browse the repository at this point in the history
…thon
  • Loading branch information
xolox committed Jun 16, 2014
2 parents 9713f0a + ed29502 commit 110673a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -313,8 +313,8 @@ If you have questions, bug reports, suggestions, etc. the author can be contacte


## License ## License


This software is licensed under the [MIT license](http://en.wikipedia.org/wiki/MIT_License). This software is licensed under the [MIT license](http://en.wikipedia.org/wiki/MIT_License).
© 2013 Peter Odding &lt;<peter@peterodding.com>&gt;. © 2014 Peter Odding &lt;<peter@peterodding.com>&gt;.




[canon]: http://en.wikipedia.org/wiki/Canonicalization [canon]: http://en.wikipedia.org/wiki/Canonicalization
Expand Down
4 changes: 2 additions & 2 deletions autoload/xolox/easytags.vim
@@ -1,9 +1,9 @@
" Vim script " Vim script
" Author: Peter Odding <peter@peterodding.com> " Author: Peter Odding <peter@peterodding.com>
" Last Change: September 1, 2013 " Last Change: June 16, 2014
" URL: http://peterodding.com/code/vim/easytags/ " 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 " Plug-in initialization. {{{1


Expand Down
2 changes: 1 addition & 1 deletion doc/easytags.txt
Expand Up @@ -647,7 +647,7 @@ easytags. If you like this plug-in please vote for it on Vim Online [21].
*easytags-license* *easytags-license*
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>. <peter@peterodding.com>.


=============================================================================== ===============================================================================
Expand Down
4 changes: 2 additions & 2 deletions misc/easytags/highlight.py
Expand Up @@ -5,7 +5,7 @@
generation in Python with a focus on doing the least amount of work. generation in Python with a focus on doing the least amount of work.
Author: Peter Odding <peter@peterodding.com> Author: Peter Odding <peter@peterodding.com>
Last Change: August 31, 2013 Last Change: March 8, 2014
URL: http://peterodding.com/code/vim/easytags URL: http://peterodding.com/code/vim/easytags
''' '''


Expand Down Expand Up @@ -39,7 +39,7 @@ def easytags_gensyncmd(tagsfiles, filetype, tagkinds, syntaxgroup, prefix, suffi
counter, limit = 0, 1024 * 20 counter, limit = 0, 1024 * 20
to_escape = re.compile(r'[.*^$/\\~\[\]]') to_escape = re.compile(r'[.*^$/\\~\[\]]')
for ident in matches.keys(): for ident in matches.keys():
escaped = to_escape.sub(r'\\\0', ident) escaped = to_escape.sub(r'\\\g<0>', ident)
patterns.append(escaped) patterns.append(escaped)
counter += len(escaped) counter += len(escaped)
if counter > limit: if counter > limit:
Expand Down

0 comments on commit 110673a

Please sign in to comment.