mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
28 lines
477 B
Scheme
28 lines
477 B
Scheme
(comment) @comment @spell
|
|
|
|
(key) @property
|
|
|
|
(value) @string
|
|
|
|
(value (escape) @string.escape)
|
|
|
|
((value) @boolean
|
|
(#any-of? @boolean "true" "false"))
|
|
|
|
((value) @number
|
|
(#lua-match? @number "^%d+$"))
|
|
|
|
(index) @number
|
|
|
|
(property [ "=" ":" ] @operator)
|
|
|
|
[ "${" "}" ] @punctuation.special
|
|
|
|
(substitution ":" @punctuation.special)
|
|
|
|
[ "[" "]" ] @punctuation.bracket
|
|
|
|
[ "." "\\" ] @punctuation.delimiter
|
|
|
|
((substitution (key) @constant)
|
|
(#lua-match? @constant "^[A-Z_][A-Z0-9_]*$"))
|