1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

14 lines
333 B
YAML

filetype: sed
detect:
filename: "\\.sed$"
header: "^#!.*bin/(env +)?sed( |$)"
rules:
- symbol.operator: "[|^$.*+]"
- constant.number: "\\{[0-9]+,?[0-9]*\\}"
- constant.specialChar: "\\\\."
- comment: "(^|[[:space:]])#([^{].*)?$"
- indent-char.whitespace: "[[:space:]]+$"
- indent-char: " + +| + +"