Skip to content

Commit

Permalink
Fix source.astro scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Oct 4, 2024
1 parent 73be69a commit 172ec66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Snippets/component.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ $1
$0
]]></content>
<tabTrigger>component</tabTrigger>
<scope>text.html.astro</scope>
<scope>source.astro</scope>
<description>Component</description>
</snippet>
2 changes: 1 addition & 1 deletion Snippets/page_html.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ $1
</html>
]]></content>
<tabTrigger>page_html</tabTrigger>
<scope>text.html.astro</scope>
<scope>source.astro</scope>
<description>Page with full HTML</description>
</snippet>
2 changes: 1 addition & 1 deletion Snippets/page_layout.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import ${1:Layout} from "../layouts/$1.astro"
</$1>
]]></content>
<tabTrigger>page_layout</tabTrigger>
<scope>text.html.astro</scope>
<scope>source.astro</scope>
<description>Page from Layout</description>
</snippet>
2 changes: 1 addition & 1 deletion tests/syntax_test_astro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
// ^^ punctuation.definition.tag.end.astro

</Markdown>
//^^^^^^^^^^^ text.html.astro meta.tag.component.end.astro - text.html.markdown.astro - meta.tag.component meta.tag.component
//^^^^^^^^^^^ source.astro meta.tag.component.end.astro - text.html.markdown.astro - meta.tag.component meta.tag.component
//^^ punctuation.definition.tag.begin.astro
// ^^^^^^^^ entity.name.tag.component.astro support.class.component.astro
// ^ punctuation.definition.tag.end.astro
Expand Down

0 comments on commit 172ec66

Please sign in to comment.