|
16 | 16 | }, |
17 | 17 | "context": [ |
18 | 18 | { "key": "selection_empty", "match_all": true }, |
19 | | - { "key": "selector", "operand": "source.powershell - string", "match_all": true }, |
20 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "@", "match_all": true }, |
| 19 | + { "key": "selector", "operand": "source.powershell - comment - string", "match_all": true }, |
| 20 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "@$", "match_all": true }, |
| 21 | + { "key": "following_text", "operator": "not_regex_contains", "operand": "^[\"@]", "match_all": true }, |
21 | 22 | ] |
22 | 23 | }, |
23 | 24 | { |
|
37 | 38 | }, |
38 | 39 | "context": [ |
39 | 40 | { "key": "selection_empty", "match_all": true }, |
40 | | - { "key": "selector", "operand": "source.powershell - string", "match_all": true }, |
41 | | - { "key": "preceding_text", "operator": "regex_contains", "operand": "@", "match_all": true }, |
| 41 | + { "key": "selector", "operand": "source.powershell - comment - string", "match_all": true }, |
| 42 | + { "key": "preceding_text", "operator": "regex_contains", "operand": "@$", "match_all": true }, |
| 43 | + { "key": "following_text", "operator": "not_regex_contains", "operand": "^['@]", "match_all": true }, |
42 | 44 | ] |
43 | 45 | }, |
44 | 46 | ] |
0 commit comments