]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/sed.yaml
Merge branch 'patch-3' of https://github.com/pyfisch/micro into pyfisch-patch-3
[micro.git] / runtime / syntax / sed.yaml
1 filetype: sed
2
3 detect: 
4     filename: "\\.sed$"
5     header: "^#!.*bin/(env +)?sed( |$)"
6
7 rules:
8     - symbol.operator: "[|^$.*+]"
9     - constant.number: "\\{[0-9]+,?[0-9]*\\}"
10     - constant.specialChar: "\\\\."
11     - comment: "(^|[[:space:]])#([^{].*)?$"
12     - indent-char.whitespace: "[[:space:]]+$"
13     - indent-char: "    + +| +  +"