Skip to content

Commit 7972774

Browse files
rchldeathaxe
andauthored
separate $ match
Co-authored-by: deathaxe <16542113+deathaxe@users.noreply.github.com>
1 parent 7db986b commit 7972774

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

YAML (esphome).sublime-syntax

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ contexts:
5050
embed: scope:source.c++
5151
embed_scope: source.c++.embedded.yaml
5252
escape: \1
53-
- match: (?=[^\s]|$)
53+
- match: (?=\S)
5454
pop: 1
5555
embed: scope:source.c++
56-
embed_scope: source.c++.embedded.yaml
56+
embed_scope: meta.string.yaml source.c++.embedded.yaml
5757
escape: $
58+
- match: $
59+
pop: 1
5860

5961
lambda-block-scalar-body:
6062
- meta_include_prototype: false

0 commit comments

Comments
 (0)