init
This commit is contained in:
12
micro/syntax/po.yaml
Normal file
12
micro/syntax/po.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
filetype: po
|
||||
|
||||
detect:
|
||||
filename: "\\.pot?$"
|
||||
|
||||
rules:
|
||||
- preproc: "\\b(msgid|msgstr)\\b"
|
||||
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
|
||||
- special: "\\\\.?"
|
||||
- comment: "(^|[[:space:]])#([^{].*)?$"
|
||||
- indent-char.whitespace: "[[:space:]]+$"
|
||||
- indent-char: " + +| + +"
|
||||
Reference in New Issue
Block a user