Skip to content

Commit 3e4cc59

Browse files
committed
Added minimap_text
1 parent e42b1c3 commit 3e4cc59

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Unit.sublime-syntax

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,18 @@ contexts:
174174
captures:
175175
1: entity.name.tag storage.type
176176
push:
177-
- match: '(layer|origin|texture|frame)\b'
177+
- include: renderable-base-attributes
178+
- match: '(origin|texture|frame)\b'
179+
scope: support.other
180+
push: attribute-value
181+
- include: attributes
182+
183+
- match: '\b(minimap_text)\s*\b'
184+
captures:
185+
1: entity.name.tag storage.type
186+
push:
187+
- include: renderable-base-attributes
188+
- match: '(font|text|color|origin|width|align)\b'
178189
scope: support.other
179190
push: attribute-value
180191
- include: attributes

0 commit comments

Comments
 (0)