diff options
Diffstat (limited to 'queries/http/highlights.scm')
| -rw-r--r-- | queries/http/highlights.scm | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/queries/http/highlights.scm b/queries/http/highlights.scm index 76d62778c..1ac243729 100644 --- a/queries/http/highlights.scm +++ b/queries/http/highlights.scm @@ -5,9 +5,17 @@ (header name: (_) @constant) +(header + value: (_) @string) + ; Variables +(identifier) @variable + (variable_declaration - name: (identifier) @variable) + "@" @character.special) + +(variable_declaration + (value) @string) ; Operators (comment @@ -25,7 +33,7 @@ (request url: (_) @string.special.url) -(http_version) @constant +(http_version) @string.special ; Response (status_code) @number @@ -36,8 +44,12 @@ [ "{{" "}}" + "{%" + "%}" ] @punctuation.bracket +">" @punctuation.special + (header ":" @punctuation.delimiter) |
