on 3338699 help sign in
bat/tests/syntax-tests/BatTestCustomAssets.sublime-syntax
21 lines 616 B history raw
1%YAML 1.2
2---
3# http://www.sublimetext.com/docs/3/syntax.html
4name: BatTestCustomAssets
5file_extensions:
6 - battestcustomassets
7scope: source.battestcustomassets
9# This syntax is used to test if custom assets work with bat.
10# The way it works is that this syntax is only allowed to be included with
11# custom assets. That way it is easy to test if custom assets are used (and works)
12# or not.
14# This syntax is based on CpuInfo.sublime-syntax.
16contexts:
17 main:
18 - match: '^([^:]+)\w*:\w*(.*)$'
19 captures:
20 1: keyword.other.battestcustomassets-key
21 2: string.other.battestcustomassets-value