-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathExp.sublime-syntax
More file actions
39 lines (34 loc) · 918 Bytes
/
Exp.sublime-syntax
File metadata and controls
39 lines (34 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%YAML 1.2
---
file_extensions:
- exp
scope: source.exp
contexts:
main:
- include: home
home:
- match: ''
push: scope:text.html.basic
with_prototype:
- include: exp-main
exp-main:
- match: <\?(?i:e=|exp)(?![^?]*\?>)
scope: section.embedded.begin.exp
captures:
0: storage.type.js
embed: scope:source.js
embed_scope: meta.string.html meta.interpolation.html source.js.embedded.html
escape: (\?>)(\s*\n)?
escape_captures:
1: storage.type.js
2: meta.html-newline-after-exp.exp
- match: <\?(?i:e=)
scope: section.embedded.begin.exp
captures:
0: storage.type.js
embed: scope:source.js
embed_scope: meta.string.html meta.interpolation.html source.js.embedded.html
escape: (\?>)(\s*\n)?
escape_captures:
1: storage.type.js
2: meta.html-newline-after-exp.exp