Skip to content

Commit 3ac549b

Browse files
azizkprincemaple
authored andcommitted
HTML: clear scopes completely and set text.html.elixir as main scope.
* Changed keyword to keyword.other.eex.elixir for now.
1 parent a44b800 commit 3ac549b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

HTML (EEx).sublime-syntax

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ contexts:
2020
pop: true
2121

2222
- match: <%%
23-
scope: keyword punctuation.definition.string.begin.elixir
23+
scope: keyword.other.eex.elixir punctuation.definition.string.begin.elixir
2424
push:
2525
- meta_content_scope: string.eex.elixir
2626
- match: '%>'
27-
scope: keyword punctuation.definition.string.end.elixir
27+
scope: keyword.other.eex.elixir punctuation.definition.string.end.elixir
2828
pop: true
2929

3030
- match: (?=<%)
3131
push:
32-
- clear_scopes: 1
32+
- clear_scopes: true
3333
- match: '%>'
34-
scope: keyword punctuation.section.embedded.end.elixir
34+
scope: text.html.elixir keyword.other.eex.elixir punctuation.section.embedded.end.elixir
3535
pop: true
3636
- match: <%[=/|]?
37-
scope: keyword punctuation.section.embedded.begin.elixir
37+
scope: text.html.elixir keyword.other.eex.elixir punctuation.section.embedded.begin.elixir
3838
embed: scope:source.elixir
39-
embed_scope: source.elixir.embedded.html
39+
embed_scope: text.html.elixir source.elixir.embedded.html
4040
escape: (?=%>)

0 commit comments

Comments
 (0)