nvim-treesitter/queries/http/highlights.scm

34 lines
477 B
Scheme
Raw Normal View History

; Display errors
(ERROR) @error
; Comments
(comment) @comment
(request
method: (method) @keyword
2021-11-04 15:16:39 +02:00
url: (url) @text.uri)
(header
name: (name) @constant
value: (value))
; JSON
(json_pair
key: (_) @keyword)
(json_string) @string
(json_number) @number
(json_boolean) @boolean
(json_null) @constant
2021-11-04 15:16:39 +02:00
(json_escape_sequence) @string.escape
(json_body) @keyword
; rest.nvim Neovim plugin specific features
(external_body
2021-11-04 15:16:39 +02:00
json_file: (json_file) @text.uri) @keyword