1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 16:10:05 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/queries/requirements/highlights.scm

48 lines
556 B
Scheme

;; packages
(package) @variable
(extras (package) @parameter)
(path) @text.underline @string.special
(url) @text.uri
;; versions
(version_cmp) @operator
(version) @number
;; markers
(marker_var) @attribute
(marker_op) @keyword.operator
;; options
(option) @function
"=" @operator
;; punctuation
[ "[" "]" "(" ")" ] @punctuation.bracket
[ "," ";" "@" ] @punctuation.delimiter
[ "${" "}" ] @punctuation.special
;; misc
(env_var) @constant
(quoted_string) @string
(linebreak) @character.special
(ERROR) @error
(comment) @comment @spell