]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/erb.yaml
Merge branch 'john-batch-master'
[micro.git] / runtime / syntax / erb.yaml
index d58e9b2dad87b9dd408da9b445c9a7b69f0dbafb..fbe420b1058c2ae8200af44110c2b9f79d0f9278 100644 (file)
@@ -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.+?>"