|
| 1 | +{ |
| 2 | + "name": "CX Setup", |
| 3 | + "scopeName": "source.cxsetup", |
| 4 | + "fileTypes": ["cxsetup"], |
| 5 | + "patterns": [ |
| 6 | + { |
| 7 | + "name": "keyword.control.cxsetup", |
| 8 | + "match": "\\b(ENDL2|ENDL|RUN|SAFECIN|SUM|SET|SUB|FILE\\.EXISTS|CLEAR|DIR\\.EXISTS|BACK|PATH\\.EXISTS|ECHO|STYLE|RESET|REQUIRES|CIN|YAYORNAY|REQINSTALL|GETPASS|TERMINATE|PKGRUN|ROUND|DIV|FORE|PIPRUN|NPMRUN|ECHORDIE|ABS|INVERT|PROD|REM)\\b" |
| 9 | + }, |
| 10 | + { |
| 11 | + "name": "keyword.operator.negation.cxsetup", |
| 12 | + "match": "\\b!(TERMINATE|ENDL2|ENDL|RUN|SAFECIN|SUM|SET|SUB|FILE\\.EXISTS|CLEAR|DIR\\.EXISTS|BACK|PATH\\.EXISTS|ECHO|STYLE|RESET|REQUIRES|CIN|YAYORNAY|REQINSTALL|GETPASS|PKGRUN|ROUND|DIV|FORE|PIPRUN|NPMRUN|ECHORDIE|ABS|INVERT|PROD|REM)\\b" |
| 13 | + }, |
| 14 | + { |
| 15 | + "name": "keyword.operator.alwaysrun.cxsetup", |
| 16 | + "match": "\\b&(TERMINATE|ENDL2|ENDL|RUN|SAFECIN|SUM|SET|SUB|FILE\\.EXISTS|CLEAR|DIR\\.EXISTS|BACK|PATH\\.EXISTS|ECHO|STYLE|RESET|REQUIRES|CIN|YAYORNAY|REQINSTALL|GETPASS|PKGRUN|ROUND|DIV|FORE|PIPRUN|NPMRUN|ECHORDIE|ABS|INVERT|PROD|REM)\\b" |
| 17 | + }, |
| 18 | + { |
| 19 | + "name": "support.function.cachegrab.cxsetup", |
| 20 | + "match": "c\\d+:\\d+[el]:\\d+:\\d+:[rlbnRLBNekvm]" |
| 21 | + }, |
| 22 | + { |
| 23 | + "name": "string.quoted.double.cxsetup", |
| 24 | + "match": "\"(\\\\.|[^\"])*\"" |
| 25 | + }, |
| 26 | + { |
| 27 | + "name": "constant.numeric.cxsetup", |
| 28 | + "match": "-?\\b\\d+(\\.\\d+)?([eE]\\d+)?\\b" |
| 29 | + }, |
| 30 | + { |
| 31 | + "name": "comment.line.double-slash.cxsetup", |
| 32 | + "begin": "//", |
| 33 | + "beginCaptures": { |
| 34 | + "0": { "name": "punctuation.definition.comment.cxsetup" } |
| 35 | + }, |
| 36 | + "end": "$\\n?", |
| 37 | + "name": "comment.line.cxsetup" |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "punctuation.terminator.cxsetup", |
| 41 | + "match": ";" |
| 42 | + }, |
| 43 | + { |
| 44 | + "name": "punctuation.separator.cxsetup", |
| 45 | + "match": "\\?" |
| 46 | + } |
| 47 | + ], |
| 48 | +} |
0 commit comments