mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 12:56:27 -04:00
13 lines
239 B
YAML
13 lines
239 B
YAML
filetype: diff
|
|
|
|
detect:
|
|
filename: "\\.diff$"
|
|
header: "^((---.*)|(\\+\\+\\+.*))"
|
|
|
|
rules:
|
|
- statement: "(^\\+\\+\\+.*)"
|
|
- statement: "(^---.*)"
|
|
- type: "(^@@.*)"
|
|
- constant.number: "(^\\+.*)"
|
|
- preproc: "(^-.*)"
|