Cache syntax highlighting rules

This commit is contained in:
Zachary Yedidia
2016-03-23 16:36:17 -04:00
parent e2f25947cc
commit a35af11924
6 changed files with 55 additions and 47 deletions

View File

@@ -16,7 +16,7 @@ color brightblue "\b(split|sprintf|strtonum|sub|substr|tolower|toupper)\b"
color brightblue "\b(mktime|strftime|systime)\b"
color brightblue "\b(and|compl|lshift|or|rshift|xor)\b"
color brightblue "\b(bindtextdomain|dcgettext|dcngettext)\b"
color magenta "/.*[^\]/"
color magenta "/.*[^\\]/"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color magenta "\\."
color brightblack "(^|[[:space:]])#([^{].*)?$"