Skip to content

Commit 748fc23

Browse files
committed
Cleanup some Razor
that I don't think we need
1 parent 57106b3 commit 748fc23

2 files changed

Lines changed: 0 additions & 28 deletions

File tree

Razor/C# (Razor).sublime-syntax

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@ extends: Packages/C#/C#.sublime-syntax
99
##############################################################################
1010

1111
contexts:
12-
# code_block_in:
13-
# - meta_prepend: true
14-
# - match: (%>)(\s*\n)?
15-
# scope: meta.embedded.cs
16-
# captures:
17-
# 1: punctuation.section.embedded.end.cs-razor
18-
# 2: meta.html-newline-after-csharp.cs-razor # used by indentation rules
19-
# push: embedding-syntax
20-
21-
embedding-syntax:
22-
- clear_scopes: true
23-
- meta_scope: embedding.cs text.html.cs.razor
24-
- meta_include_prototype: false
25-
- match: <%(?![=#:$@-])
26-
scope: meta.embedded.cs punctuation.section.embedded.begin.cs-razor
27-
pop: 1
28-
- include: Packages/HTML (C#)/Razor/Razor.sublime-syntax#comments
29-
- include: Packages/HTML (C#)/Razor/Razor.sublime-syntax#html
3012

3113
stray_close_bracket:
3214
- match: \]|\)

Razor/JavaScript (Razor).sublime-syntax

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ contexts:
1212
prototype:
1313
- meta_prepend: true
1414
- include: Razor.sublime-syntax#comments
15-
# - include: csharp-embedded
1615

1716
string-content:
1817
- meta_prepend: true
@@ -32,12 +31,3 @@ contexts:
3231
csharp-embedded:
3332
- meta_include_prototype: false
3433
- include: Razor.sublime-syntax#razor-constructs
35-
# - match: <%[=#:$]
36-
# scope: meta.embedded.cs punctuation.section.embedded.begin.cs-webforms
37-
# embed: Packages/C#/C#.sublime-syntax
38-
# embed_scope: meta.embedded.cs source.cs.embedded.css
39-
# escape: (%>)(\s*\n)?
40-
# escape_captures:
41-
# 0: meta.embedded.cs
42-
# 1: punctuation.section.embedded.end.cs-webforms
43-
# 2: meta.html-newline-after-csharp.cs-webforms

0 commit comments

Comments
 (0)