|
4 | 4 | "patterns": [ |
5 | 5 | { |
6 | 6 | "name": "meta.tag.mm", |
7 | | - "begin": "(</?)([a-z_0-9]+)", |
| 7 | + "begin": "(</?)([a-z_0-9-]+)", |
8 | 8 | "beginCaptures": { |
9 | 9 | "1": { "name": "punctuation.definition.tag.mm" }, |
10 | 10 | "2": { "name": "constant.language.identifier.identifier.mm" } |
|
40 | 40 | }, |
41 | 41 | { |
42 | 42 | "name": "variable.parameter.named-argument.quoted.mm", |
43 | | - "match": "(\\s+)([a-z_0-9]+)(=)(\".*\")", |
| 43 | + "match": "(\\s+)([a-z_0-9-]+)(=)(\".*\")", |
44 | 44 | "captures": { |
45 | 45 | "2": { "name": "keyword.reserved.identifier.mm" }, |
46 | 46 | "3": { "name": "punctuation.definition.identifier.mm" }, |
|
49 | 49 | }, |
50 | 50 | { |
51 | 51 | "name": "variable.parameter.named-argument.single-quoted.mm", |
52 | | - "match": "(\\s+)([a-z_0-9]+)(=)('.*')", |
| 52 | + "match": "(\\s+)([a-z_0-9-]+)(=)('.*')", |
53 | 53 | "captures": { |
54 | 54 | "2": { "name": "keyword.reserved.identifier.mm" }, |
55 | 55 | "3": { "name": "punctuation.definition.identifier.mm" }, |
|
58 | 58 | }, |
59 | 59 | { |
60 | 60 | "name": "variable.parameter.named-argument.unquoted.mm", |
61 | | - "match": "(\\s+)([a-z_0-9]+)(=)([^ >:]*)", |
| 61 | + "match": "(\\s+)([a-z_0-9-]+)(=)([^ >:]*)", |
62 | 62 | "captures": { |
63 | 63 | "2": { "name": "keyword.reserved.identifier.mm" }, |
64 | 64 | "3": { "name": "punctuation.definition.identifier.mm" }, |
|
67 | 67 | }, |
68 | 68 | { |
69 | 69 | "name": "variable.parameter.inverse-flag.mm", |
70 | | - "match": "(\\s+)(![a-z_0-9]+)", |
| 70 | + "match": "(\\s+)(![a-z_0-9-]+)", |
71 | 71 | "captures": { |
72 | 72 | "2": { "name": "support.type.inverse-flag.mm" } |
73 | 73 | } |
74 | 74 | }, |
75 | 75 | { |
76 | 76 | "name": "variable.parameter.flag.mm", |
77 | | - "match": "(\\s+)([a-z_0-9]+)", |
| 77 | + "match": "(\\s+)([a-z_0-9-]+)", |
78 | 78 | "captures": { |
79 | 79 | "2": { "name": "support.type.flag.mm" } |
80 | 80 | } |
|
0 commit comments