|
4 | 4 | "If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
5 | 5 | "Once accepted there, we are happy to receive an update request."
|
6 | 6 | ],
|
7 |
| - "version": "https://github.com/sumneko/lua.tmbundle/commit/d0d89a3734dd36938d8498a3c16bc734291727cb", |
| 7 | + "version": "https://github.com/sumneko/lua.tmbundle/commit/3a18700941737c3ab66ac5964696f141aee61800", |
8 | 8 | "name": "Lua",
|
9 | 9 | "scopeName": "source.lua",
|
10 | 10 | "patterns": [
|
|
184 | 184 | },
|
185 | 185 | {
|
186 | 186 | "match": "\\b(and|or|not|\\|\\||\\&\\&|\\!)\\b",
|
187 |
| - "name": "keyword.operator.logical.lua" |
| 187 | + "name": "keyword.operator.lua" |
188 | 188 | },
|
189 | 189 | {
|
190 | 190 | "match": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*(?:[({\"']|\\[\\[))",
|
|
372 | 372 | "name": "comment.block.lua",
|
373 | 373 | "patterns": [
|
374 | 374 | {
|
375 |
| - "include": "#comment_documentation_bracket" |
| 375 | + "include": "#emmydoc" |
| 376 | + }, |
| 377 | + { |
| 378 | + "include": "#ldoc_tag" |
376 | 379 | }
|
377 | 380 | ]
|
378 | 381 | },
|
|
437 | 440 | "name": "comment.block.lua",
|
438 | 441 | "patterns": [
|
439 | 442 | {
|
440 |
| - "include": "#comment_documentation_asterisk" |
| 443 | + "include": "#emmydoc" |
| 444 | + }, |
| 445 | + { |
| 446 | + "include": "#ldoc_tag" |
441 | 447 | }
|
442 | 448 | ]
|
443 | 449 | }
|
444 | 450 | ]
|
445 | 451 | },
|
446 |
| - "comment_documentation_asterisk": { |
447 |
| - "begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$", |
448 |
| - " ": "^[ \\t]*\\*(?!/)(?=([^*]|[*](?!/))*$)", |
449 |
| - "patterns": [ |
450 |
| - { |
451 |
| - "include": "#emmydoc" |
452 |
| - }, |
453 |
| - { |
454 |
| - "include": "#ldoc_tag" |
455 |
| - } |
456 |
| - ] |
457 |
| - }, |
458 |
| - "comment_documentation_bracket": { |
459 |
| - "begin": "(?<=--\\[\\[)([^-]|\\-(?!\\]\\]))*$", |
460 |
| - "while": "^[ \\t]*-*(?!\\]\\])(?=([^-]|[-](?!\\]\\]))*$)", |
461 |
| - "patterns": [ |
462 |
| - { |
463 |
| - "include": "#emmydoc" |
464 |
| - }, |
465 |
| - { |
466 |
| - "include": "#ldoc_tag" |
467 |
| - } |
468 |
| - ] |
469 |
| - }, |
470 | 452 | "emmydoc": {
|
471 | 453 | "patterns": [
|
472 | 454 | {
|
|
0 commit comments