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

@@ -77,7 +77,7 @@ color constant "q"\{.*\}""
color constant "q"\[.*\]""
color constant "q"<.*>""
color constant (s) "q"[^({[<"][^"]*$.*?^[^"]+""
color constant "q"([^({[<"]).*\1""
color constant "q"([^({[<"]).*""
### TokenString
### True token strings require nesting, so, again, they can't be implemented accurately here.