@@ -714,35 +714,41 @@ contexts:
714714 - meta_content_scope : meta.directive.vue
715715 - match : =
716716 scope : meta.directive.vue punctuation.separator.key-value.vue
717- set : vue-directive-value
717+ set :
718+ - immediately-pop
719+ - vue-directive-value
718720 - include : else-pop
719721
720722 vue-directive-value :
721- - meta_content_scope : meta.directive.vue
722723 - match : \"
723- scope : string.quoted.double.vue punctuation.definition.string.begin.vue
724- set : vue-directive-double-quoted-value
725- - match : \'
726- scope : string.quoted.single.vue punctuation.definition.string.begin.vue
727- set : vue-directive-single-quoted-value
728- - include : else-pop
729-
730- vue-directive-double-quoted-value :
731- - meta_include_prototype : false
732- - meta_scope : meta.directive.value.vue meta.string.vue
733- - meta_content_scope : meta.embedded.expression.vue source.js.embedded.vue
734- - match : \"
735- scope : string.quoted.double.vue punctuation.definition.string.end.vue
724+ scope :
725+ meta.directive.value.vue meta.string.vue
726+ string.quoted.double.vue punctuation.definition.string.begin.vue
727+ embed : javascript-expressions
728+ embed_scope :
729+ meta.directive.value.vue meta.string.vue
730+ meta.embedded.expression.vue source.js.embedded.vue
731+ escape : \"
732+ escape_captures :
733+ 0 : meta.directive.value.vue meta.string.vue
734+ string.quoted.double.vue punctuation.definition.string.end.vue
736735 pop : 1
737- - match : (?=\S)
738- push : scope:source.js#expression
739-
740- vue-directive-single-quoted-value :
741- - meta_include_prototype : false
742- - meta_scope : meta.directive.value.vue meta.string.vue
743- - meta_content_scope : meta.embedded.expression.vue source.js.embedded.vue
744736 - match : \'
745- scope : string.quoted.single.vue punctuation.definition.string.end.vue
737+ scope :
738+ meta.directive.value.vue meta.string.vue
739+ string.quoted.single.vue punctuation.definition.string.begin.vue
740+ embed : javascript-expressions
741+ embed_scope :
742+ meta.directive.value.vue meta.string.vue
743+ meta.embedded.expression.vue source.js.embedded.vue
744+ escape : \'
745+ escape_captures :
746+ 0 : meta.directive.value.vue meta.string.vue
747+ string.quoted.single.vue punctuation.definition.string.end.vue
746748 pop : 1
749+ - include : else-pop
750+
751+ javascript-expressions :
752+ # required until ST4176
747753 - match : (?=\S)
748754 push : scope:source.js#expression
0 commit comments