Skip to content

Commit 2ddbddd

Browse files
committed
yaml/highlights.scm: Treat plain value with string face
1 parent ef4e9e4 commit 2ddbddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

queries/yaml/highlights.scm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
(flow_mapping
1111
(_ key: (flow_node (plain_scalar (string_scalar) @variable))))
1212

13-
["[" "]" "{" "}"] @punctuation.bracket
13+
["[" "]" "{" "}" "\"" "'"] @punctuation.bracket
1414
["," "-" ":" "?" ">" "|"] @punctuation.delimiter
1515
["*" "&" "---" "..."] @punctuation.special
1616

1717
[(null_scalar) (boolean_scalar)] @constant.builtin
1818
[(integer_scalar) (float_scalar)] @number
19-
[(double_quote_scalar) (single_quote_scalar) (block_scalar)] @string
19+
[(double_quote_scalar) (single_quote_scalar) (block_scalar) (plain_scalar)] @string
2020
(escape_sequence) @escape
2121

2222
(comment) @comment

0 commit comments

Comments
 (0)