mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-21 08:17:15 +09:00
Case-insensitive highlighting of hexadecimal constants
This commit is contained in:
committed by
Zachary Yedidia
parent
02ef99a3a6
commit
c226779aca
@@ -12,7 +12,7 @@ rules:
|
||||
- special: "&[^;[[:space:]]]*;"
|
||||
- symbol: "[:=]"
|
||||
- identifier: "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
||||
- constant.number: "(?i)#[0-9A-F]{6,6}"
|
||||
- constant.number: "(?i)#[0-9a-fA-F]{6,6}"
|
||||
- constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+"
|
||||
- comment: "<!--.+?-->"
|
||||
- default: "<\\?(php|=)\" end=\"\\?>"
|
||||
|
||||
Reference in New Issue
Block a user