|
149 | 149 | },
|
150 | 150 | "testcase_name": {
|
151 | 151 | "contentName": "string.unquoted.argument.robotframework",
|
152 |
| - "begin": "^( ?\\S+ ?\\S*)(?= {2}| ?\\t| ?$)", |
| 152 | + "begin": "^( ?\\S+ ?(\\S* ?)*?)(?= {2}| ?\\t| ?$)", |
153 | 153 | "beginCaptures": { "1": { "name": "entity.name.function.testcase.name.robotframework" } },
|
154 |
| - "end": "^(?!(\\s*(\\.\\.\\.((( {2}| ?\\t)\\s*\\S.*)|(\\s*))?$))|(\\s*#.*$)|(\\s*$))" |
| 154 | + "end": "^(?!(\\s*(\\.\\.\\.((( {2}| ?\\t)\\s*\\S.*)|(\\s*))?$))|(\\s*#.*$)|(\\s*$))", |
| 155 | + "patterns": [ |
| 156 | + { "include": "#escape" }, |
| 157 | + { "include": "#comment" }, |
| 158 | + { "include": "#comment_line" }, |
| 159 | + { "include": "#variables" }, |
| 160 | + { "include": "#line_continuation" } |
| 161 | + ] |
155 | 162 | },
|
156 | 163 | "keyword_name": {
|
157 | 164 | "contentName": "string.unquoted.argument.robotframework",
|
158 |
| - "begin": "^( ?\\S+ ?\\S*)(?= {2}| ?\\t| ?$)", |
| 165 | + "begin": "^( ?\\S+ ?(\\S* ?)*?)(?= {2}| ?\\t| ?$)", |
159 | 166 | "beginCaptures": { "1": { "name": "entity.name.function.keyword.name.robotframework" } },
|
160 |
| - "end": "^(?!(\\s*(\\.\\.\\.((( {2}| ?\\t)\\s*\\S.*)|(\\s*))?$))|(\\s*#.*$)|(\\s*$))" |
| 167 | + "end": "^(?!(\\s*(\\.\\.\\.((( {2}| ?\\t)\\s*\\S.*)|(\\s*))?$))|(\\s*#.*$)|(\\s*$))", |
| 168 | + "patterns": [ |
| 169 | + { "include": "#escape" }, |
| 170 | + { "include": "#comment" }, |
| 171 | + { "include": "#comment_line" }, |
| 172 | + { "include": "#variables" }, |
| 173 | + { "include": "#line_continuation" } |
| 174 | + ] |
161 | 175 | },
|
162 | 176 | "block_statements": {
|
163 | 177 | "patterns": [
|
|
0 commit comments