summaryrefslogtreecommitdiff
path: root/runtime/queries/po/highlights.scm
diff options
context:
space:
mode:
authorErasin2023-02-20 23:04:17 +0000
committerGitHub2023-02-20 23:04:17 +0000
commit864ee8fdef435893832a2698159407bd9b43f274 (patch)
treec67f9792fbd1faa04435b0e6fda7f93bd3ca65c3 /runtime/queries/po/highlights.scm
parentb89b2eaf68c53a2c10a0f649f9487ad46c85e11e (diff)
Add GNU gettext PO grammar (#5996)
Diffstat (limited to 'runtime/queries/po/highlights.scm')
-rw-r--r--runtime/queries/po/highlights.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/po/highlights.scm b/runtime/queries/po/highlights.scm
new file mode 100644
index 00000000..b090f129
--- /dev/null
+++ b/runtime/queries/po/highlights.scm
@@ -0,0 +1,15 @@
+[
+ (msgctxt)
+ (msgid)
+ (msgid_plural)
+ (msgstr)
+]@keyword
+
+(comment) @comment
+(comment (comment_reference (text) @string.special.path))
+(comment (comment_flag (text) @label))
+
+(number) @constant.numeric
+(string) @string
+
+(ERROR) @error