Skip to content

Commit a5bf7c0

Browse files
authored
queries: update highlights/injections for jjconfig (#14308)
1 parent 8ab2072 commit a5bf7c0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

runtime/queries/jjconfig/injections.scm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
(table
55
(bare_key) @table-name (#any-of? @table-name "templates" "template-aliases")
6-
[(pair (_) ((string) @injection.content (#set! injection.language "jjtemplate"))) (comment)]*)
6+
[(pair (_) ((string) @injection.content (#set! injection.language "jjtemplate"))) (comment)])
77

88
(table
99
(bare_key) @table-name (#any-of? @table-name "revsets" "revset-aliases")
10-
[(pair (_) ((string) @injection.content (#set! injection.language "jjrevset"))) (comment)]*)
10+
[(pair (_) ((string) @injection.content (#set! injection.language "jjrevset"))) (comment)])

runtime/queries/jjtemplate/highlights.scm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@
1212

1313
[(infix_ops) "++"] @operator
1414
[(string_literal) (raw_string_literal)] @string
15+
16+
(integer_literal) @constant.numeric.integer

0 commit comments

Comments
 (0)