-
Notifications
You must be signed in to change notification settings - Fork 2
/
HTML (ABL).sublime-syntax
38 lines (38 loc) · 1.04 KB
/
HTML (ABL).sublime-syntax
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
%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: HTML (ABL)
file_extensions:
- w
- html
scope: text.html.abl
contexts:
main:
- match: .*(<)(script) (language)(=)("SpeedScript")(>)
captures:
1: punctuation.definition.tag.begin.html
2: entity.name.tag.script.html
3: entity.other.attribute-name.html
4: meta.tag.inline.any.html
5: string.double.quoted.html
6: punctuation.definition.tag.end.html
push:
- meta_scope: source.abl
- match: .*(</)(script)(>)
captures:
1: punctuation.definition.tag.begin.html
2: entity.name.tag.script.html
3: punctuation.definition.tag.end.html
pop: true
- include: scope:source.abl
- match: \`
captures:
0: string.double.quoted.html
push:
- meta_scope: source.abl
- match: \`
captures:
0: string.double.quoted.html
pop: true
- include: scope:source.abl
- include: scope:text.html.basic