diff --git a/PHP/Embeddings/CSS (for PHP double-quoted).sublime-syntax b/PHP/Embeddings/CSS (for PHP double-quoted).sublime-syntax index 1511cbdf22..9613a10ab5 100644 --- a/PHP/Embeddings/CSS (for PHP double-quoted).sublime-syntax +++ b/PHP/Embeddings/CSS (for PHP double-quoted).sublime-syntax @@ -7,11 +7,20 @@ hidden: true extends: Packages/PHP/CSS (PHP).sublime-syntax contexts: + main: + - include: rule-list-body - prototype: + quoted-strings: - meta_prepend: true - match: (?=") pop: 1 - main: - - include: rule-list-body + quoted-string: + - meta_prepend: true + - match: (?=") + pop: 1 + + quoted-urls: + - meta_prepend: true + - match: (?=") + pop: 1 diff --git a/PHP/Embeddings/CSS (for PHP single-quoted).sublime-syntax b/PHP/Embeddings/CSS (for PHP single-quoted).sublime-syntax index 93f61f0aea..a3b08fd09b 100644 --- a/PHP/Embeddings/CSS (for PHP single-quoted).sublime-syntax +++ b/PHP/Embeddings/CSS (for PHP single-quoted).sublime-syntax @@ -7,11 +7,20 @@ hidden: true extends: Packages/PHP/CSS (PHP).sublime-syntax contexts: + main: + - include: rule-list-body - prototype: + quoted-strings: - meta_prepend: true - match: (?=') pop: 1 - main: - - include: rule-list-body + quoted-string: + - meta_prepend: true + - match: (?=') + pop: 1 + + quoted-urls: + - meta_prepend: true + - match: (?=') + pop: 1 diff --git a/PHP/Embeddings/JavaScript (for PHP double-quoted).sublime-syntax b/PHP/Embeddings/JavaScript (for PHP double-quoted).sublime-syntax index 1a58f0aaaf..47c5de69ad 100644 --- a/PHP/Embeddings/JavaScript (for PHP double-quoted).sublime-syntax +++ b/PHP/Embeddings/JavaScript (for PHP double-quoted).sublime-syntax @@ -7,7 +7,20 @@ hidden: true extends: Packages/PHP/JavaScript (PHP).sublime-syntax contexts: - prototype: + main: + - include: expressions + + field-name: + - meta_prepend: true + - match: (?=") + pop: 1 + + method-name: - meta_prepend: true - match: (?=") pop: 1 + + literal-double-quoted-string: + - match: (?=") + pop: 1 + diff --git a/PHP/Embeddings/JavaScript (for PHP single-quoted).sublime-syntax b/PHP/Embeddings/JavaScript (for PHP single-quoted).sublime-syntax index 675f101ded..5a89b3c484 100644 --- a/PHP/Embeddings/JavaScript (for PHP single-quoted).sublime-syntax +++ b/PHP/Embeddings/JavaScript (for PHP single-quoted).sublime-syntax @@ -7,7 +7,19 @@ hidden: true extends: Packages/PHP/JavaScript (PHP).sublime-syntax contexts: - prototype: + main: + - include: expressions + + field-name: + - meta_prepend: true + - match: (?=') + pop: 1 + + method-name: - meta_prepend: true - match: (?=') pop: 1 + + literal-single-quoted-string: + - match: (?=') + pop: 1