Skip to content

Commit

Permalink
fix: add http highlights file to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
NTBBloodbath committed Aug 31, 2021
1 parent 9b4cf1e commit da70732
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions after/queries/http/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
; Display errors
(ERROR) @error

; Comments
(comment) @comment

(request
method: (method) @keyword
url: (url) @TSURI)

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

; JSON
(json_pair
key: (_) @keyword)

(json_string) @string

(json_number) @number

(json_boolean) @boolean

(json_null) @constant

(json_escape_sequence) @TSStringEscape

(json_body) @keyword

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

0 comments on commit da70732

Please sign in to comment.