@mmmnt/feat-grammar 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/feat.tmLanguage.json +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ spec reads as structure.
|
|
|
133
133
|
| `entity.name.type.schema.feat` | the schema name after `response` status, and after `with` |
|
|
134
134
|
| `variable.other.service.feat`, `keyword.other.assertion.feat`, `entity.name.type.record.feat` | the service key; `has` and `contains`; the record type (`INSERT`, `OrderPlaced`, ...) |
|
|
135
135
|
| `keyword.other.with.feat`, `keyword.other.ordering.feat` | `with`; `ordered`, `unordered` |
|
|
136
|
-
| `support.function.matcher.feat`, `support.type.matcher.feat` | `any`, `matching`, `absent`, `equals fixture`; the `uuid`, `timestamp`, `string`, `number`, `boolean` qualifiers |
|
|
136
|
+
| `support.function.matcher.feat`, `support.type.matcher.feat` | `any`, `matching`, `absent`, `not` (in a field's value position, ADR-0027), `equals fixture`; the `uuid`, `timestamp`, `string`, `number`, `boolean` qualifiers |
|
|
137
137
|
| `variable.language.stimulus-ref.feat` | `@when.email`, `@deliver[1].orderId`, `@payments[0].id` |
|
|
138
138
|
| `variable.parameter.placeholder.feat` | outline placeholders such as `<email>` |
|
|
139
139
|
| `string.quoted.double.feat`, `constant.numeric.feat` | string and number literals, including a response's status code |
|
package/feat.tmLanguage.json
CHANGED
|
@@ -287,6 +287,14 @@
|
|
|
287
287
|
"match": "\\b(matching|absent)\\b",
|
|
288
288
|
"name": "support.function.matcher.feat"
|
|
289
289
|
},
|
|
290
|
+
{
|
|
291
|
+
"match": "(?<=:)\\s*\\b(not)\\b(?=[ \\t])",
|
|
292
|
+
"captures": {
|
|
293
|
+
"1": {
|
|
294
|
+
"name": "support.function.matcher.feat"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
290
298
|
{
|
|
291
299
|
"match": "\\b(equals fixture)\\b",
|
|
292
300
|
"name": "support.function.matcher.feat"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmnt/feat-grammar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "TextMate grammar for the .feat execution specification language — powers editor extensions, Shiki, and any TextMate-compatible highlighter",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|