mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
Add syntax flags and fix a couple highlighting bugs
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
## Old version
|
||||
|
||||
#syntax "JavaScript" "(\.|/|)js$"
|
||||
#color green "//.*$" "(?s)\/\*.*?\*\/"
|
||||
#color green "//.*$" (s) "\/\*.*?\*\/"
|
||||
#color blue "'(\\.|[^'])*'"
|
||||
#color red ""(\\.|[^\"])*""
|
||||
#color brightgreen "\b(true)\b"
|
||||
@@ -42,5 +42,6 @@ color brightyellow "L?'(\'|[^'])*'"
|
||||
color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
||||
|
||||
## Comments
|
||||
color brightblue "(?s)/\*.*?\*/"
|
||||
color brightblue (s) "/\*.*?\*/"
|
||||
color brightblue "//.*$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user