Files
go-highlite/syntax_files/pkg-config.yaml
T
Jesse Portnoy 571529568c - Revised code example
- Added new lexers and revised existing
2023-07-16 23:44:37 +01:00

14 lines
384 B
YAML

filetype: pc
detect:
filename: "\\.pc$"
header: "^(prefix|exec_prefix|libdir|includedir)="
rules:
- preproc: "^(Name|Description|URL|Version|Conflicts|Cflags):"
- preproc: "^(Requires|Libs)(\\.private)?:"
- symbol.operator: "="
- identifier.var: "\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}"
- indent-char.whitespace: "[[:space:]]+$"
- indent-char: " + +| + +"