diff options
Diffstat (limited to 'atom/grammars')
-rw-r--r-- | atom/grammars/subx.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/atom/grammars/subx.json b/atom/grammars/subx.json new file mode 100644 index 00000000..d75ddda6 --- /dev/null +++ b/atom/grammars/subx.json @@ -0,0 +1,27 @@ +{ + "scopeName": "source.subx", + "name": "SubX", + "fileTypes": ["subx"], + "patterns": [ + { + "name": "comment.line.subx", + "match": "#.*" + }, + { + "name": "test.subx", + "match": "^test-[^ ]*:" + }, + { + "name": "global.subx", + "match": "^[A-Z][^ ]*:" + }, + { + "name": "function.subx", + "match": "^[^_$ #][^ ]*:" + }, + { + "name": "label.subx", + "match": "^[_$][^ ]*:" + } + ] +} |