aboutsummaryrefslogtreecommitdiffstats
path: root/misc/easytags
diff options
context:
space:
mode:
Diffstat (limited to 'misc/easytags')
-rw-r--r--misc/easytags/highlight.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/easytags/highlight.py b/misc/easytags/highlight.py
index 154854e..446770b 100644
--- a/misc/easytags/highlight.py
+++ b/misc/easytags/highlight.py
@@ -23,7 +23,7 @@ def easytags_gensyncmd(tagsfiles, filetype, tagkinds, syntaxgroup, prefix, suffi
if filters:
tagkinds = filters['kind']
# Shallow parse tags files for matching identifiers.
- pattern = '^([^\t]+)\t[^\t]+\t[^\t]+\t' + tagkinds + '\tlanguage:' + filetype
+ pattern = '^([^\t]+)\t[^\t]+\t[^\t]+\t' + tagkinds + '\tlanguage:' + filetype.replace('+', '\+')
compiled_pattern = re.compile(pattern, re.IGNORECASE)
matches = {}
for fname in tagsfiles: