]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/po.yaml
add more types for nim (#2284)
[micro.git] / runtime / syntax / po.yaml
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: "    + +| +  +"