nvim-treesitter/queries/http/highlights.scm
2024-01-19 16:58:37 +01:00

48 lines
544 B
Scheme

; Schemes
(scheme) @type
; Methods
(method) @function.method
; Constants
(const_spec) @constant
; Variables
(identifier) @variable
; Fields
(pair
name: (identifier) @variable.member)
; Parameters
(query_param
(key) @variable.parameter)
; Operators
[
"="
"?"
"&"
"@"
] @operator
; Literals
(string) @string
(target_url) @string.special.url
(number) @number
; (boolean) @boolean
(null) @constant.builtin
; Punctuation
[
"{{"
"}}"
] @punctuation.bracket
":" @punctuation.delimiter
; Comments
(comment) @comment @spell