Debian Codegraph @

runtime/syntax/po.yaml

raw
1 filetype: po
2
3 detect:
4 filename: "\\.pot?$"
5
6 rules:
7 - preproc: "\\b(msgid|msgstr)\\b"
8 - constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
9 - special: "\\\\.?"
10 - comment: "(^|[[:space:]])#([^{].*)?$"
11 - indent-char.whitespace: "[[:space:]]+$"
12 - indent-char: " + +| + +"