Skip to content

Commit 9f1d411

Browse files
committed
Syntax: Fix missing meta.string.yaml scope
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent 3c160a8 commit 9f1d411

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Package/Sublime Text Syntax Definition/Sublime Text Syntax Definition.sublime-syntax

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ contexts:
623623
- match: "'"
624624
scope: punctuation.definition.string.begin.yaml
625625
push:
626+
- meta_scope: meta.string.yaml
626627
- meta_content_scope: source.regexp.oniguruma
627628
- match: "'(?!')"
628629
scope: punctuation.definition.string.end.yaml

Package/Sublime Text Syntax Definition/syntax_test_sublime-syntax.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ variables:
6363

6464

6565
x9: '{{im_a_variable}}'
66+
# ^^^^^^^^^^^^^^^^^^^ meta.string.yaml
6667
# ^^^^^^^^^^^^^^^^^ meta.variable.sublime-syntax keyword.other.variable.sublime-syntax
6768
# ^^^^^^^^^^^^^ variable.other.sublime-syntax
6869

0 commit comments

Comments
 (0)