Skip to content

Commit 030e5d1

Browse files
committed
inside brackets didn't got styled correctly
1 parent b876d6b commit 030e5d1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Syntaxes/GDL.YAML-tmLanguage

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ patterns:
4444
name: keyword.other.special-method.gdl.functions
4545
patterns:
4646
- include: '#functions'
47+
- include: $self
4748

4849
# 2D
4950
- match: (?i)(?<=^|\s)((LINE|RECT|ARC|CIRCLE|WALLINE|WALLARC)2|SPLINE2[A]?|(PICTURE|WALLHOLE|WALLBLOCK)2(\{2\})?|POLY2(_?(A|B(\{[2-5]\})?)?))(?=$|\s)
@@ -202,4 +203,5 @@ repository:
202203
name: keyword.other.special-method.gdl.functions
203204
patterns:
204205
- include: '#functions'
206+
- include: $self
205207

Syntaxes/GDL.tmLanguage

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@
8787
<key>include</key>
8888
<string>#functions</string>
8989
</dict>
90+
<dict>
91+
<key>include</key>
92+
<string>$self</string>
93+
</dict>
9094
</array>
9195
</dict>
9296
<dict>
@@ -401,6 +405,10 @@
401405
<key>include</key>
402406
<string>#functions</string>
403407
</dict>
408+
<dict>
409+
<key>include</key>
410+
<string>$self</string>
411+
</dict>
404412
</array>
405413
</dict>
406414
</dict>

0 commit comments

Comments
 (0)