Skip to content

Commit 367f17a

Browse files
committed
fix: stop DataModule syntax highlighting breaking on empty lines
1 parent 5567059 commit 367f17a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/syntaxes/src/ccini.tmLanguage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repository:
1818
beginCaptures:
1919
'1':
2020
name: keyword
21-
end: ^(?!\t+)
21+
end: ^(?!\t+|$)
2222
patterns:
2323
- include: '#comments'
2424
- include: '#assignments'

tests/Index.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ DataModule
88
X = 1
99
Y = 3
1010
Test = ContentFile
11+
1112
FilePath = test
1213
Test = Color
1314
R = 4

0 commit comments

Comments
 (0)