-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
tmLanguage
: text.astro pattern (#826)
* fix(tmLanguage): text.astro pattern * add snap test * fix a comment
- Loading branch information
1 parent
f3e69cc
commit db49ff7
Showing
5 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"astro-vscode": patch | ||
--- | ||
|
||
text.astro pattern matches text at the beginning and end of the document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
text<div>text</div> | ||
<div>text</div>text | ||
text{"text"} | ||
{"text"}text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
>text<div>text</div> | ||
#^^^^ source.astro text.astro | ||
# ^ source.astro meta.scope.tag.div.astro meta.tag.start.astro punctuation.definition.tag.begin.astro | ||
# ^^^ source.astro meta.scope.tag.div.astro meta.tag.start.astro entity.name.tag.astro | ||
# ^ source.astro meta.scope.tag.div.astro meta.tag.start.astro punctuation.definition.tag.end.astro | ||
# ^^^^ source.astro text.astro | ||
# ^^ source.astro meta.scope.tag.div.astro meta.tag.end.astro punctuation.definition.tag.begin.astro | ||
# ^^^ source.astro meta.scope.tag.div.astro meta.tag.end.astro entity.name.tag.astro | ||
# ^ source.astro meta.scope.tag.div.astro meta.tag.end.astro punctuation.definition.tag.end.astro | ||
><div>text</div>text | ||
#^ source.astro meta.scope.tag.div.astro meta.tag.start.astro punctuation.definition.tag.begin.astro | ||
# ^^^ source.astro meta.scope.tag.div.astro meta.tag.start.astro entity.name.tag.astro | ||
# ^ source.astro meta.scope.tag.div.astro meta.tag.start.astro punctuation.definition.tag.end.astro | ||
# ^^^^ source.astro text.astro | ||
# ^^ source.astro meta.scope.tag.div.astro meta.tag.end.astro punctuation.definition.tag.begin.astro | ||
# ^^^ source.astro meta.scope.tag.div.astro meta.tag.end.astro entity.name.tag.astro | ||
# ^ source.astro meta.scope.tag.div.astro meta.tag.end.astro punctuation.definition.tag.end.astro | ||
# ^^^^ source.astro text.astro | ||
>text{"text"} | ||
#^^^^ source.astro text.astro | ||
# ^ source.astro punctuation.section.embedded.begin.astro | ||
# ^^^^^^ source.astro meta.embedded.expression.astro source.tsx | ||
# ^ source.astro punctuation.section.embedded.end.astro | ||
>{"text"}text | ||
#^ source.astro punctuation.section.embedded.begin.astro | ||
# ^^^^^^ source.astro meta.embedded.expression.astro source.tsx | ||
# ^ source.astro punctuation.section.embedded.end.astro | ||
# ^^^^ source.astro text.astro |