nvim-treesitter/queries/hocon/highlights.scm

66 lines
665 B
Scheme
Raw Normal View History

2023-09-13 00:25:01 +09:00
(comment) @comment @spell
2022-01-15 16:35:55 +02:00
(null) @constant.builtin
2024-01-06 15:05:50 +09:00
[
(true)
(false)
] @boolean
2022-01-15 16:35:55 +02:00
(number) @number
2024-01-06 15:05:50 +09:00
2022-01-15 16:35:55 +02:00
(unit) @keyword
2024-01-06 15:05:50 +09:00
2022-01-15 16:35:55 +02:00
(string) @string
2024-01-06 15:05:50 +09:00
2022-01-15 16:35:55 +02:00
(multiline_string) @string
2024-01-06 15:05:50 +09:00
(string
(escape_sequence) @string.escape)
2022-01-15 16:35:55 +02:00
(unquoted_string) @string
2024-01-06 15:05:50 +09:00
[
"url"
2022-01-15 16:35:55 +02:00
"file"
"classpath"
"required"
] @keyword
2024-01-06 15:05:50 +09:00
(include
"include" @keyword.import)
(substitution
[
"${"
"${?"
"}"
] @punctuation.special)
(substitution
(_) @variable.member)
2022-01-15 16:35:55 +02:00
2024-01-06 15:05:50 +09:00
(path
(_) @variable.member)
2022-01-15 16:35:55 +02:00
2024-01-06 15:05:50 +09:00
(value
[
":"
"="
"+="
] @operator)
2022-01-15 16:35:55 +02:00
[
2024-01-06 15:05:50 +09:00
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
2022-01-15 16:35:55 +02:00
2024-01-06 15:05:50 +09:00
"," @punctuation.delimiter
2022-01-15 16:35:55 +02:00
2024-01-06 15:05:50 +09:00
(unquoted_path
"." @punctuation.delimiter)