@@ -0,0 +1,127 @@
1+[
2+ "[QueryStringParams]"
3+ "[FormParams]"
4+ "[MultipartFormData]"
5+ "[Cookies]"
6+ "[Captures]"
7+ "[Asserts]"
8+ "[Options]"
9+ "[BasicAuth]"
10+] @attribute
11+
12+(comment) @comment
13+
14+[
15+ (key_string)
16+ (json_key_string)
17+] @variable.other.member
18+
19+(value_string) @string
20+(quoted_string) @string
21+(json_string) @string
22+(file_value) @string.special.path
23+(regex) @string.regex
24+
25+[
26+ "\\"
27+ (regex_escaped_char)
28+ (quoted_string_escaped_char)
29+ (key_string_escaped_char)
30+ (value_string_escaped_char)
31+ (oneline_string_escaped_char)
32+ (multiline_string_escaped_char)
33+ (filename_escaped_char)
34+ (json_string_escaped_char)
35+] @constant.character.escape
36+
37+(method) @type.builtin
38+(multiline_string_type) @type
39+
40+[
41+ "status"
42+ "url"
43+ "header"
44+ "cookie"
45+ "body"
46+ "xpath"
47+ "jsonpath"
48+ "regex"
49+ "variable"
50+ "duration"
51+ "sha256"
52+ "md5"
53+ "bytes"
54+] @function.builtin
55+
56+(filter) @attribute
57+
58+(version) @string.special
59+[
60+ "null"
61+ "cacert"
62+ "location"
63+ "insecure"
64+ "max-redirs"
65+ "retry"
66+ "retry-interval"
67+ "retry-max-count"
68+ (variable_option "variable")
69+ "verbose"
70+ "very-verbose"
71+] @constant.builtin
72+
73+(boolean) @constant.builtin.boolean
74+
75+(variable_name) @variable
76+
77+[
78+ "not"
79+ "equals"
80+ "=="
81+ "notEquals"
82+ "!="
83+ "greaterThan"
84+ ">"
85+ "greaterThanOrEquals"
86+ ">="
87+ "lessThan"
88+ "<"
89+ "lessThanOrEquals"
90+ "<="
91+ "startsWith"
92+ "endsWith"
93+ "contains"
94+ "matches"
95+ "exists"
96+ "includes"
97+ "isInteger"
98+ "isFloat"
99+ "isBoolean"
100+ "isString"
101+ "isCollection"
102+] @keyword.operator
103+
104+(integer) @constant.numeric.integer
105+(float) @constant.numeric.float
106+(status) @constant.numeric
107+(json_number) @constant.numeric.float
108+
109+[
110+ ":"
111+ ","
112+] @punctuation.delimiter
113+
114+[
115+ "["
116+ "]"
117+ "{"
118+ "}"
119+ "{{"
120+ "}}"
121+] @punctuation.special
122+
123+[
124+ "base64,"
125+ "file,"
126+ "hex,"
127+] @string.special