1
Files
flake-nixinator/config/neovim/store/treesitter-parsers/queries/properties/highlights.scm

29 lines
470 B
Scheme

(comment) @comment
(key) @property
(value) @string
(value (escape) @string.escape)
((index) @number
(#match? @number "^[0-9]+$"))
((substitution (key) @constant)
(#match? @constant "^[A-Z0-9_]+"))
(substitution
(key) @function
"::" @punctuation.special
(secret) @embedded)
(property [ "=" ":" ] @operator)
[ "${" "}" ] @punctuation.special
(substitution ":" @punctuation.special)
[ "[" "]" ] @punctuation.bracket
[ "." "\\" ] @punctuation.delimiter