diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-12-28 17:34:38 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-12-28 17:34:38 -0800 |
commit | bc81e7719770c903930899285ba6b7e96a9c70e3 (patch) | |
tree | 97ed8640d2cb4195f7c94b97dbd1b208f00db089 /atom/grammars | |
parent | 535755316bcd017567d564bae827e0f447523634 (diff) | |
download | mu-bc81e7719770c903930899285ba6b7e96a9c70e3.tar.gz |
5838 - syntax highlighting for atom
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": "^[_$][^ ]*:" + } + ] +} |