|
974 | 974 | "include": "#vue-directives-control" |
975 | 975 | }, |
976 | 976 | { |
977 | | - "include": "#vue-directives-style-attr" |
| 977 | + "include": "#vue-directives-generic-attr" |
978 | 978 | }, |
979 | 979 | { |
980 | | - "include": "#vue-directives-original" |
| 980 | + "include": "#vue-directives-style-attr" |
981 | 981 | }, |
982 | 982 | { |
983 | | - "include": "#vue-directives-generic-attr" |
| 983 | + "include": "#vue-directives-original" |
984 | 984 | } |
985 | 985 | ] |
986 | 986 | }, |
|
1021 | 1021 | } |
1022 | 1022 | }, |
1023 | 1023 | "end": "(?=\\s*[^=\\s])", |
1024 | | - "endCaptures": { |
1025 | | - "1": { |
1026 | | - "name": "punctuation.definition.string.end.html.vue" |
1027 | | - } |
1028 | | - }, |
1029 | 1024 | "name": "meta.attribute.directive.vue", |
1030 | 1025 | "patterns": [ |
1031 | | - { |
| 1026 | + { |
1032 | 1027 | "match": "(\\.)([\\w-]*)", |
1033 | 1028 | "1": { |
1034 | 1029 | "name": "punctuation.separator.key-value.html.vue" |
|
1043 | 1038 | ] |
1044 | 1039 | }, |
1045 | 1040 | "vue-directives-control": { |
1046 | | - "begin": "(v-for)|(v-if|v-else-if|v-else)", |
1047 | | - "captures": { |
| 1041 | + "begin": "(?:(v-for)|(v-if|v-else-if|v-else))(?==)", |
| 1042 | + "beginCaptures": { |
1048 | 1043 | "1": { |
1049 | 1044 | "name": "keyword.control.loop.vue" |
1050 | 1045 | }, |
1051 | 1046 | "2": { |
1052 | 1047 | "name": "keyword.control.conditional.vue" |
1053 | 1048 | } |
1054 | 1049 | }, |
1055 | | - "end": "(?=\\s*+[^=\\s])", |
| 1050 | + "end": "(?=\\s*[^=\\s])", |
1056 | 1051 | "name": "meta.attribute.directive.control.vue", |
1057 | 1052 | "patterns": [ |
1058 | 1053 | { |
|
1116 | 1111 | }, |
1117 | 1112 | "vue-directives-style-attr": { |
1118 | 1113 | "begin": "\\b(style)\\s*(=)", |
1119 | | - "captures": { |
| 1114 | + "beginCaptures": { |
1120 | 1115 | "1": { |
1121 | 1116 | "name": "entity.other.attribute-name.html.vue" |
1122 | 1117 | }, |
|
1200 | 1195 | }, |
1201 | 1196 | "vue-directives-generic-attr": { |
1202 | 1197 | "begin": "\\b(generic)\\s*(=)", |
1203 | | - "captures": { |
| 1198 | + "beginCaptures": { |
1204 | 1199 | "1": { |
1205 | 1200 | "name": "entity.other.attribute-name.html.vue" |
1206 | 1201 | }, |
|
0 commit comments