File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 470470 ]
471471 },
472472 "locomotor-types" : {
473- "match " : " \\ s*\\ b(SET_NORMAL|SET_SUPERSONIC|SET_SLUGGISH|SET_TAXIING|SET_PANIC|SET_WANDER|SET_FREEFALL|SET_NORMAL_UPGRADED)\\ s*([a-zA-Z] \\ w+) " ,
474- "captures " : {
473+ "begin " : " \\ s*\\ b(SET_NORMAL|SET_SUPERSONIC|SET_SLUGGISH|SET_TAXIING|SET_PANIC|SET_WANDER|SET_FREEFALL|SET_NORMAL_UPGRADED)\\ s*" ,
474+ "beginCaptures " : {
475475 "1" : {
476476 "name" : " variable.other.constant.ini"
477477 },
478478 "2" : {
479479 "name" : " string.unquoted.ini"
480480 }
481- }
481+ },
482+ "end" : " (?!\\ G)" ,
483+ "patterns" : [
484+ {
485+ "include" : " #string"
486+ }
487+ ]
482488 },
483489 "weapon-types" : {
484- "match" : " \\ b(PRIMARY|SECONDARY|TERTIARY)(\\ s*\\ b(PRIMARY|SECONDARY|TERTIARY))*" ,
485- "name" : " variable.other.constant.ini"
490+ "begin" : " (\\ s*\\ b(PRIMARY|SECONDARY|TERTIARY))+\\ s*" ,
491+ "beginCaptures" : {
492+ "1" : {
493+ "name" : " variable.other.constant.ini"
494+ }
495+ },
496+ "end" : " (?!\\ G)" ,
497+ "patterns" : [
498+ {
499+ "include" : " #string"
500+ }
501+ ]
486502 },
487503 "string" : {
488504 "begin" : " (^[ \\ t]+)?(?=[a-zA-Z])" ,
You can’t perform that action at this time.
0 commit comments