diff options
author | Peter Odding <peter@peterodding.com> | 2014-06-30 00:21:24 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2014-06-30 00:21:24 +0200 |
commit | de47de82fd140607b44af833546fb4f46cd9f2f2 (patch) | |
tree | 05e9eb349269c837a95fe0297f63b5cbbb2b6b8b /autoload | |
parent | f651375c7333efda6a768472e1a804f20fa69115 (diff) | |
download | vim-easytags-de47de82fd140607b44af833546fb4f46cd9f2f2.tar.gz |
Bug fix for Vim based syntax highlighting of tags
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/xolox/easytags.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 1cd6071..823120a 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -1,6 +1,6 @@ " Vim script " Author: Peter Odding <peter@peterodding.com> -" Last Change: June 29, 2014 +" Last Change: June 30, 2014 " URL: http://peterodding.com/code/vim/easytags/ let g:xolox#easytags#version = '3.5' @@ -301,7 +301,7 @@ function! xolox#easytags#highlight() " {{{2 if !exists('taglist') " Get the list of tags when we need it and remember the results. let ctags_filetypes = xolox#easytags#filetypes#find_ctags_aliases(filetype) - let filetypes_pattern = printf('^\(%s\)$', join(map(ctags_filetypes, 'xolox#misc#pattern#escape(v:val)'), '\|')) + let filetypes_pattern = printf('^\(%s\)$', join(map(ctags_filetypes, 'xolox#misc#escape#pattern(v:val)'), '\|')) let taglist = filter(taglist('.'), "get(v:val, 'language', '') =~? filetypes_pattern") endif " Filter a copy of the list of tags to the relevant kinds. |