]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/git-rebase-todo.yaml
Case-insensitive highlighting of hexadecimal constants
[micro.git] / runtime / syntax / git-rebase-todo.yaml
index 0d31d13a3378c2cdec5c7b6265e0c404a6d19fd3..724f9c9cb8a3c891722e68fbe2a89dfaf0f41d45 100644 (file)
@@ -7,7 +7,7 @@ rules:
     # Rebase commands
     - statement: "^(p(ick)?|r(eword)?|e(dit)?|s(quash)?|f(ixup)?|x|exec|b(reak)?|d(rop)?|l(abel)?|t|reset|m(erge)?)\\b"
     # Commit IDs
-    - identifier: "\\b([0-9a-f]{7,40})\\b"
+    - identifier: "\\b([0-9a-fA-F]{7,40})\\b"
 
     # Color keywords for Github (and others)
     - type.keyword: "\\b(?i)((fix(es|ed)?|close(s|d)?) #[0-9]+)\\b"