Skip to content

Commit 2d5304a

Browse files
committed
Target line-of-code for Razor HTML attributes
Fixes #12
1 parent 959906c commit 2d5304a

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

Razor/Razor.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ contexts:
309309
scope: constant.character.escape.cs-razor
310310
- match: '\B{{csharp_tag_interpolation_bare}}'
311311
scope: punctuation.section.interpolation.begin.razor
312-
push: Packages/HTML (C#)/Razor/embeddings/C# (for C# Razor HTML attribute).sublime-syntax
312+
push: Packages/HTML (C#)/Razor/embeddings/C# (for C# Razor HTML attribute).sublime-syntax#line_of_code_in
313313

314314
csharp-embedded:
315315
- meta_include_prototype: false

Razor/embeddings/C# (for C# Razor HTML attribute).sublime-syntax

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ hidden: true
77
extends: Packages/C#/C#.sublime-syntax
88

99
contexts:
10-
main:
11-
- meta_prepend: true
12-
- match: (?=")
13-
pop: 3
1410

1511
line_of_code_in:
1612
- meta_prepend: true
1713
- match: (?=")
18-
pop: 3
14+
pop: 1
1915

2016
inside_triple_quoted_raw_string_syntax:
2117
- meta_include_prototype: false

0 commit comments

Comments
 (0)