aboutsummaryrefslogtreecommitdiffstats
path: root/queries/http/highlights.scm
blob: f5a08813bcb6204b230d7b4152f65c28c3b81622 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; inherits: json

; Display errors
(ERROR) @error

; Comments
(comment) @comment

(request
  method: (method) @keyword
  url: (url) @text.uri)

(header
  name: (name) @constant
  value: (value))

; rest.nvim Neovim plugin specific features
(external_body
  json_file: (json_file) @text.uri) @keyword