From bc81e7719770c903930899285ba6b7e96a9c70e3 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 28 Dec 2019 17:34:38 -0800 Subject: 5838 - syntax highlighting for atom --- atom/grammars/subx.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 atom/grammars/subx.json (limited to 'atom/grammars') 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": "^[_$][^ ]*:" + } + ] +} -- cgit 1.4.1-2-gfad0