5839 - colors for comments and string literals

This commit is contained in:
Kartik Agaram 2019-12-28 18:40:44 -08:00
parent bc81e77197
commit dc6bd625f2
2 changed files with 32 additions and 1 deletions

View File

@ -4,9 +4,25 @@
"fileTypes": ["subx"],
"patterns": [
{
"name": "comment.line.subx",
"name": "header-comment.subx",
"match": "# - .*"
},
{
"name": "comment-sub-2.subx",
"match": "# \\. \\. .*"
},
{
"name": "comment-sub-1.subx",
"match": "# \\. .*"
},
{
"name": "comment.subx",
"match": "#.*"
},
{
"name": "strings.subx",
"match": "\"[^\"]*\""
},
{
"name": "test.subx",
"match": "^test-[^ ]*:"

View File

@ -1,5 +1,20 @@
atom-text-editor.editor {
.syntax--source.syntax--subx {
.syntax--header-comment.syntax--subx {
color: #ccccff;
}
.syntax--comment-sub-1.syntax--subx {
color: #888888;
}
.syntax--comment-sub-2.syntax--subx {
color: #666666;
}
.syntax--comment.syntax--subx {
color: #8888ff;
}
.syntax--strings.syntax--subx {
color: cyan;
}
.syntax--function.syntax--subx {
color: orange;
}