-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathC# (Razor).sublime-syntax
More file actions
40 lines (31 loc) · 859 Bytes
/
C# (Razor).sublime-syntax
File metadata and controls
40 lines (31 loc) · 859 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
40
%YAML 1.2
---
scope: source.cs.embedded.html.cs.razor
hidden: true
# version: 2
extends: Packages/C#/C#.sublime-syntax
##############################################################################
contexts:
stray_close_bracket:
- match: \]|\)
scope: invalid.illegal.stray.cs
- match: (?=})
pop: 1
keywords:
- meta_prepend: true
- match: \bModel\b
scope: variable.language.this.razor
- match: \bHtml\b
scope: variable.language.this.razor
inside_triple_quoted_raw_string_syntax:
- meta_include_prototype: false
- include: immediately_pop
inside_verbatim_string_syntax:
- meta_include_prototype: false
- include: immediately_pop
inside_verbatim_format_string_syntax:
- meta_include_prototype: false
- include: immediately_pop
immediately_pop:
- match: ''
pop: 1