Skip to content

Commit

Permalink
inside brackets didn't got styled correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
runxel committed Mar 28, 2015
1 parent b876d6b commit 030e5d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Syntaxes/GDL.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ patterns:
name: keyword.other.special-method.gdl.functions
patterns:
- include: '#functions'
- include: $self

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

8 changes: 8 additions & 0 deletions Syntaxes/GDL.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
<key>include</key>
<string>#functions</string>
</dict>
<dict>
<key>include</key>
<string>$self</string>
</dict>
</array>
</dict>
<dict>
Expand Down Expand Up @@ -401,6 +405,10 @@
<key>include</key>
<string>#functions</string>
</dict>
<dict>
<key>include</key>
<string>$self</string>
</dict>
</array>
</dict>
</dict>
Expand Down

0 comments on commit 030e5d1

Please sign in to comment.