Skip to content

Commit d3cc6b3

Browse files
authored
Create HTML (EEx).sublime-syntax
1 parent 2c9554c commit d3cc6b3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

HTML (EEx).sublime-syntax

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
%YAML 1.2
2+
---
3+
# http://www.sublimetext.com/docs/3/syntax.html
4+
name: HTML (EEx)
5+
file_extensions:
6+
- html.eex
7+
scope: text.html.elixir
8+
contexts:
9+
main:
10+
- match: <%+[-=]?
11+
scope: punctuation.section.embedded.elixir region.bluish
12+
embed: scope:source.elixir
13+
embed_scope: source.elixir.embedded.html
14+
escape: \%>
15+
escape_captures:
16+
0: punctuation.section.embedded.elixir region.bluish
17+
- include: scope:text.html.basic

0 commit comments

Comments
 (0)