File: sed.yaml

package info (click to toggle)
micro 2.0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,448 kB
  • sloc: sh: 232; makefile: 72; xml: 24
file content (13 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
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: "	+ +| +	+"