mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Case-insensitive highlighting of hexadecimal constants
This commit is contained in:
committed by
Zachary Yedidia
parent
02ef99a3a6
commit
c226779aca
@@ -1,6 +1,6 @@
|
||||
filetype: erb
|
||||
|
||||
detect:
|
||||
detect:
|
||||
filename: "\\.erb$|\\.rhtml$"
|
||||
|
||||
rules:
|
||||
@@ -12,7 +12,7 @@ rules:
|
||||
- symbol: "[:=]"
|
||||
- identifier: "(alt|bgcolor|height|href|id|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-fA-F]{6,6}"
|
||||
- constant.string.url: "(ftp(s)?|http(s)?|git|chrome)://[^ ]+"
|
||||
- comment: "<!--.+?-->"
|
||||
- preproc: "<!DOCTYPE.+?>"
|
||||
|
||||
Reference in New Issue
Block a user