feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,64 @@
; Methods
(method) @function.method
; Headers
(header
name: (_) @constant)
(header
value: (_) @string)
; Variables
(identifier) @variable
(variable_declaration
"@" @character.special)
(variable_declaration
(value) @string)
; Operators
(comment
"=" @operator)
(variable_declaration
"=" @operator)
; keywords
(comment
"@" @keyword
name: (_) @keyword)
; Literals
(request
url: (_) @string.special.url)
(http_version) @string.special
; Response
(status_code) @number
(status_text) @string
; Punctuation
[
"{{"
"}}"
"{%"
"%}"
] @punctuation.bracket
">" @punctuation.special
(header
":" @punctuation.delimiter)
; external JSON body
(external_body
path: (_) @string.special.path)
; Comments
[
(comment)
(request_separator)
] @comment @spell