mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
File diff suppressed because one or more lines are too long
@@ -12,7 +12,6 @@ rules:
|
|||||||
- special: "&[^;[[:space:]]]*;"
|
- special: "&[^;[[:space:]]]*;"
|
||||||
- symbol: "[:=]"
|
- symbol: "[:=]"
|
||||||
- identifier: "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
- identifier: "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
||||||
- constant.string: "\"[^\"]*\""
|
|
||||||
- constant.number: "(?i)#[0-9A-F]{6,6}"
|
- constant.number: "(?i)#[0-9A-F]{6,6}"
|
||||||
- constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+"
|
- constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+"
|
||||||
- comment: "<!--.+?-->"
|
- comment: "<!--.+?-->"
|
||||||
@@ -33,8 +32,12 @@ rules:
|
|||||||
- symbol.operator: "(=>|===|!==|==|!=|&&|\\|\\||::|=|->|\\!)"
|
- symbol.operator: "(=>|===|!==|==|!=|&&|\\|\\||::|=|->|\\!)"
|
||||||
- identifier.var: "(\\$[a-zA-Z0-9\\-_]+)"
|
- identifier.var: "(\\$[a-zA-Z0-9\\-_]+)"
|
||||||
- symbol.operator: "[\\(|\\)|/|+|\\-|\\*|\\[|.|,|;]"
|
- symbol.operator: "[\\(|\\)|/|+|\\-|\\*|\\[|.|,|;]"
|
||||||
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
|
- constant.string:
|
||||||
- constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
|
start: "\""
|
||||||
|
end: "\""
|
||||||
|
skip: "\\\\."
|
||||||
|
rules:
|
||||||
|
- constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
|
||||||
- symbol.brackets: "(\\[|\\]|\\{|\\}|[()])"
|
- symbol.brackets: "(\\[|\\]|\\{|\\}|[()])"
|
||||||
- comment: "(^|[[:space:]])//.*"
|
- comment: "(^|[[:space:]])//.*"
|
||||||
- comment: "(^|[[:space:]])#.*"
|
- comment: "(^|[[:space:]])#.*"
|
||||||
|
|||||||
Reference in New Issue
Block a user