mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
c22ebfe62e
* Add http Support It's like [vscode-restclient](https://github.com/Huachao/vscode-restclient) - https://github.com/erasin/tree-sitter-http/tree/main/tests * Add Hurl Support
127 lines
1.7 KiB
Scheme
127 lines
1.7 KiB
Scheme
[
|
|
"[QueryStringParams]"
|
|
"[FormParams]"
|
|
"[MultipartFormData]"
|
|
"[Cookies]"
|
|
"[Captures]"
|
|
"[Asserts]"
|
|
"[Options]"
|
|
"[BasicAuth]"
|
|
] @attribute
|
|
|
|
(comment) @comment
|
|
|
|
[
|
|
(key_string)
|
|
(json_key_string)
|
|
] @variable.other.member
|
|
|
|
(value_string) @string
|
|
(quoted_string) @string
|
|
(json_string) @string
|
|
(file_value) @string.special.path
|
|
(regex) @string.regex
|
|
|
|
[
|
|
"\\"
|
|
(regex_escaped_char)
|
|
(quoted_string_escaped_char)
|
|
(key_string_escaped_char)
|
|
(value_string_escaped_char)
|
|
(oneline_string_escaped_char)
|
|
(multiline_string_escaped_char)
|
|
(filename_escaped_char)
|
|
(json_string_escaped_char)
|
|
] @constant.character.escape
|
|
|
|
(method) @type.builtin
|
|
(multiline_string_type) @type
|
|
|
|
[
|
|
"status"
|
|
"url"
|
|
"header"
|
|
"cookie"
|
|
"body"
|
|
"xpath"
|
|
"jsonpath"
|
|
"regex"
|
|
"variable"
|
|
"duration"
|
|
"sha256"
|
|
"md5"
|
|
"bytes"
|
|
] @function.builtin
|
|
|
|
(filter) @attribute
|
|
|
|
(version) @string.special
|
|
[
|
|
"null"
|
|
"cacert"
|
|
"location"
|
|
"insecure"
|
|
"max-redirs"
|
|
"retry"
|
|
"retry-interval"
|
|
"retry-max-count"
|
|
(variable_option "variable")
|
|
"verbose"
|
|
"very-verbose"
|
|
] @constant.builtin
|
|
|
|
(boolean) @constant.builtin.boolean
|
|
|
|
(variable_name) @variable
|
|
|
|
[
|
|
"not"
|
|
"equals"
|
|
"=="
|
|
"notEquals"
|
|
"!="
|
|
"greaterThan"
|
|
">"
|
|
"greaterThanOrEquals"
|
|
">="
|
|
"lessThan"
|
|
"<"
|
|
"lessThanOrEquals"
|
|
"<="
|
|
"startsWith"
|
|
"endsWith"
|
|
"contains"
|
|
"matches"
|
|
"exists"
|
|
"includes"
|
|
"isInteger"
|
|
"isFloat"
|
|
"isBoolean"
|
|
"isString"
|
|
"isCollection"
|
|
] @keyword.operator
|
|
|
|
(integer) @constant.numeric.integer
|
|
(float) @constant.numeric.float
|
|
(status) @constant.numeric
|
|
(json_number) @constant.numeric.float
|
|
|
|
[
|
|
":"
|
|
","
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
"["
|
|
"]"
|
|
"{"
|
|
"}"
|
|
"{{"
|
|
"}}"
|
|
] @punctuation.special
|
|
|
|
[
|
|
"base64,"
|
|
"file,"
|
|
"hex,"
|
|
] @string.special |