Overview
| Comment: | [misc] SublimeText: color scheme (update) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | misc |
| Files: | files | file ages | folders |
| SHA3-256: |
e95acd9537600308ee0190f0a0ef26bb |
| User & Date: | olr on 2019-05-26 14:35:35 |
| Other Links: | manifest | tags |
Context
|
2019-05-27
| ||
| 09:40 | [fr] faux positifs et ajustements check-in: 7d6ba09c48 user: olr tags: trunk, fr | |
|
2019-05-26
| ||
| 14:35 | [misc] SublimeText: color scheme (update) check-in: e95acd9537 user: olr tags: trunk, misc | |
| 09:09 | [fr] màj option maj check-in: f25546ce85 user: olr tags: trunk, fr | |
Changes
Added misc/grammalecte.sublime-color-scheme version [7d086242cb].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
{
"name": "Grammalecte Color Scheme",
"globals":
{
"background": "hsl(210, 20%, 14%)",
"foreground": "hsl(210, 20%, 95%)",
"caret": "hsl(210, 20%, 80%)",
"block_caret": "red",
"line_highlight": "hsl(210, 60%, 30%)",
"bracket_options": "underline bold",
"selection": "hsl(210, 50%, 20%)",
"selection_border": "hsl(210, 80%, 40%)",
"selection_border_width": "1",
"selection_corner_style": "cut",
"selection_corner_radius": "4",
"invisibles": "hsl(210, 20%, 40%)",
"highlight": "hsl(210, 100%, 60%)"
},
"rules":
[
{ "name": "Options command", "scope": "options.command", "foreground": "#50F0A0", "font_style": "bold", },
{ "name": "Options parameter", "scope": "options.parameter", "foreground": "#70B0F0", "font_style": "bold", },
{ "name": "Comment", "scope": "comment", "foreground": "hsl(210, 10%, 50%)" },
{ "name": "Bookmark", "scope": "bookmark", "foreground": "#A0F0FF", "background": "#0050A0", },
{ "name": "Graphline", "scope": "graphline", "foreground": "hsl(0, 100%, 80%)", "background": "hsl(0, 100%, 20%)", "font_style": "bold", },
{ "name": "Error message", "scope": "string.message", "foreground": "hsl(0, 50%, 65%)", },
{ "name": "Error message", "scope": "string.escape", "foreground": "hsl(0, 50%, 85%)", },
{ "name": "Test header", "scope": "test.header", "foreground": "hsl(150, 100%, 60%)", "font_style": "bold" },
{ "name": "Test option", "scope": "test.error", "foreground": "hsl(0, 90%, 67%)", },
{ "name": "Todo", "scope": "todo", "foreground": "hsl(20, 90%, 60%)", "font_style": "bold", },
{ "name": "Entity brackets", "scope": "entity.brackets", "foreground": "#90A0A0", "background": "#203030", },
{ "name": "Entity parenthesis", "scope": "entity.parenthesis", "foreground": "#A0A0C0", "background": "#303035", },
{ "name": "Entity Action", "scope": "entity.action", "foreground": "#20F0F0", "background": "#204040", "font_style": "bold", },
{ "name": "Entity Condi Green", "scope": "entity.cond.green", "foreground": "#20F020", "background": "#204020", "font_style": "bold", },
{ "name": "Entity Condi Red", "scope": "entity.cond.red", "foreground": "#F02020", "background": "#402020", "font_style": "bold", },
{ "name": "Entity error", "scope": "entity.error", "foreground": "#FF7070", "background": "#602020", "font_style": "bold", },
{ "name": "Entity error group", "scope": "entity.error.group", "foreground": "#F0F060", "background": "#602020", "font_style": "bold", },
{ "name": "Entity tag", "scope": "entity.tag", "foreground": "#FF70FF", "background": "#602060", "font_style": "bold", },
{ "name": "Entity tag group", "scope": "entity.tag.group", "foreground": "#F0B0F0", "background": "#602060", "font_style": "bold", },
{ "name": "Entity tproc", "scope": "entity.tproc", "foreground": "#30FF30", "background": "#204020", "font_style": "bold", },
{ "name": "Entity tproc group", "scope": "entity.tproc.group", "foreground": "#F0F0A0", "background": "#204020", "font_style": "bold", },
{ "name": "Entity disambiguator", "scope": "entity.disambiguator","foreground": "#FF9020", "background": "#704010", "font_style": "bold", },
{ "name": "Rule options", "scope": "rule.options", "foreground": "#F0A020", "font_style": "bold", },
{ "name": "Rule casing", "scope": "rule.casing", "foreground": "#30C0F0", "font_style": "bold", },
{ "name": "Rule action option", "scope": "rule.actionoption", "foreground": "hsl(0, 50%, 50%)", "background": "hsl(330, 50%, 20%)", "font_style": "bold", },
{ "name": "Rule option name", "scope": "rule.optionname", "foreground": "hsl(330, 80%, 80%)", "background": "hsl(330, 60%, 20%)", "font_style": "bold", },
{ "name": "Rule name (regex)", "scope": "rule.rulename_regex", "foreground": "#A0A0A0", "font_style": "italic", },
{ "name": "Rule name (graph)", "scope": "rule.rulename_graph", "foreground": "#F0D080", },
{ "name": "Rule priority", "scope": "rule.priority", "foreground": "#F06060", },
{ "name": "Entity Valid", "scope": "entity.valid", "foreground": "hsl(150, 100%, 80%)", "background": "hsl(150, 100%, 20%)", "font_style": "bold", },
{ "name": "Entity Invalid", "scope": "entity.invalid", "foreground": "hsl(0, 100%, 80%)", "background": "hsl(0, 100%, 20%)", "font_style": "bold", },
{ "name": "String meta", "scope": "string.meta", "foreground": "hsl(270, 100%, 90%)", "background": "hsl(270, 100%, 40%)", },
{ "name": "String token", "scope": "string.token", "foreground": "hsl(240, 50%, 90%)", "background": "hsl(240, 50%, 40%)", },
{ "name": "String Jumptoken", "scope": "string.jumptoken", "foreground": "hsl(0, 50%, 90%)", "background": "hsl(10, 50%, 40%)", },
{ "name": "String lemma", "scope": "string.lemma", "foreground": "hsl(210, 100%, 80%)", "background": "hsl(210, 100%, 15%)", },
{ "name": "String tag", "scope": "string.tag", "foreground": "hsl(30, 100%, 90%)", "background": "hsl(30, 100%, 20%)", },
{ "name": "String regex", "scope": "string.regex", "foreground": "hsl(60, 100%, 80%)", "background": "hsl(60, 100%, 10%)", },
{ "name": "String morph regex", "scope": "string.morph.regex", "foreground": "hsl(150, 80%, 90%)", "background": "hsl(150, 80%, 10%)", },
{ "name": "String morph negregex","scope": "string.morph.negregex","foreground": "hsl(0, 80%, 90%)", "background": "hsl(0, 80%, 10%)", },
{ "name": "Keyword Python", "scope": "keyword.python", "foreground": "#A0A0A0", },
{ "name": "Keyword", "scope": "keyword - (source.c keyword.operator | source.c++ keyword.operator | source.objc keyword.operator | source.objc++ keyword.operator), keyword.operator.word", "foreground": "#F06070", },
{ "name": "String", "scope": "string", "foreground": "hsl(60, 80%, 75%)", },
{ "name": "Number", "scope": "constant.numeric", "foreground": "hsl(270, 100%, 70%)", "font_style": "bold", },
{ "name": "Built-in constant", "scope": "constant.language", "foreground": "#AE81FF", "font_style": "italic", },
{ "name": "User-defined constant", "scope": "constant.character, constant.other", "foreground": "#AE81FF", },
{ "name": "Storage", "scope": "storage", "foreground": "#F92672", "font_style": "bold", },
{ "name": "Storage type", "scope": "storage.type", "foreground": "#66D9EF", "font_style": "italic", },
{ "name": "Entity name", "scope": "entity.name - (entity.name.filename | entity.name.section | entity.name.tag | entity.name.label)", "foreground": "#A0E030", "font_style": "", },
{ "name": "Inherited inherited-class", "scope": "entity.other.inherited-class", "foreground": "#A6E22E", "font_style": "italic underline", },
{ "name": "Function argument", "scope": "variable.parameter - (source.c | source.c++ | source.objc | source.objc++)", "foreground": "#FD971F", "font_style": "italic", },
{ "name": "Language variable", "scope": "variable.language", "foreground": "#FD971F", "font_style": "italic", },
{ "name": "Tag name", "scope": "entity.name.tag", "foreground": "#F92672", "font_style": "", },
{ "name": "Tag attribute", "scope": "entity.other.attribute-name", "foreground": "#A6E22E", "font_style": "", },
{ "name": "Function call", "scope": "variable.function", "foreground": "#66D9EF", "font_style": "", },
{ "name": "Library function", "scope": "support.function", "foreground": "#66D9EF", "font_style": "", },
{ "name": "Library function debug", "scope": "support.function.debug", "foreground": "#F0F060", "background": "#A05000", "font_style": "", },
{ "name": "Library constant", "scope": "support.constant", "foreground": "#66D9EF", "font_style": "", },
{ "name": "Library class/type", "scope": "support.type, support.class", "foreground": "#66D9EF", "font_style": "italic", },
{ "name": "Library variable", "scope": "support.other.variable", "font_style": "", },
{ "name": "JavaScript Dollar", "scope": "variable.other.dollar.only.js", "foreground": "#F92672", },
{ "name": "Definition", "scope": "definition", "foreground": "#70B0F0", "font_style": "bold", },
{ "name": "Variable", "scope": "variable", "font_style": "", },
{ "name": "Invalid", "scope": "invalid", "foreground": "#F8F8F0", "background": "#F92672", "font_style": "", },
{ "name": "Invalid deprecated", "scope": "invalid.deprecated", "foreground": "#F8F8F0", "background": "#AE81FF", },
{ "name": "JSON String", "scope": "meta.structure.dictionary.json string.quoted.double.json", "foreground": "#CFCFC2", },
{ "name": "YAML String", "scope": "string.unquoted.yaml", "foreground": "#F8F8F2", },
{ "name": "diff.header", "scope": "meta.diff, meta.diff.header", "foreground": "#75715E", },
{ "name": "diff.deleted", "scope": "markup.deleted", "foreground": "#FF5050", "font_style": "underline", },
{ "name": "diff.inserted", "scope": "markup.inserted", "foreground": "#A6E22E", },
{ "name": "diff.changed", "scope": "markup.changed", "foreground": "#E6DB74", },
{ "scope": "constant.numeric.line-number.find-in-files - match", "foreground": "#AE81FFA0", },
{ "scope": "entity.name.filename", "foreground": "#E6DB74", },
]
}
|
Modified misc/grammalecte.sublime-syntax from [adc8923096] to [b81150a5bf].
| ︙ | ︙ | |||
10 11 12 13 14 15 16 |
# Strings begin and end with quotes, and use backslashes as an escape
# character
- match: '"[^"]*"'
scope: string.quoted.double
#push: double_quoted_string
# Comments begin with a '#' and finish at the end of the line
| | > | > > > | > > > > > > < < < < | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# Strings begin and end with quotes, and use backslashes as an escape
# character
- match: '"[^"]*"'
scope: string.quoted.double
#push: double_quoted_string
# Comments begin with a '#' and finish at the end of the line
- match: '^#.*'
scope: comment
# Error message
- match: '(?<= )#[^|]+'
scope: string.message
push:
- match: '\\-?[0-9]+'
scope: string.message.escape
- match: '\| ?https?://[\w./%?&=#+-]+'
scope: string.other
- match: $
pop: true
# Numbers
- match: '\b(-)?[0-9.]+\b'
scope: constant.numeric
# Bookmarks
- match: '^!!.*|^\[\+\+\].*'
scope: bookmark
# Graph
- match: '^@@@@GRAPH: *(\w+) .*$'
scope: graphline
captures:
1: string.graphname
- match: '^@@@@(?:END_GRAPH .*$| *)'
|
| ︙ | ︙ | |||
64 65 66 67 68 69 70 |
# Regex rule option
- match: '^__[\[<]([isu])[\]>](/\w+|)(\(\w+\)|)(![0-9]|)__|</?js>'
scope: rule.options
captures:
1: rule.casing
2: rule.optionname
| | | | > > > | | | | | | | | | | | | | | | | | | | | < < < < | | < < < < < < < < < < < < < < < < < | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# Regex rule option
- match: '^__[\[<]([isu])[\]>](/\w+|)(\(\w+\)|)(![0-9]|)__|</?js>'
scope: rule.options
captures:
1: rule.casing
2: rule.optionname
3: rule.rulename_regex
4: rule.priority
# Graph rules option
- match: '^__(\w+)(![0-9]|)__'
scope: rule.options
captures:
1: rule.rulename_graph
2: rule.priority
- match: '/(\w+)/'
scope: rule.actionoption
captures:
1: rule.optionname
# Definitions and options
- match: '^OPT(?:GROUP|LANG|PRIORITY)/|^OPT(?:SOFTWARE|COLORTHEME):|^COLOR/'
scope: options.command
- match: '^OPT(?:LABEL|COLOR|)/'
scope: options.parameter
- match: '^DEF: '
scope: definition
# Tests & TODO
- match: '^TEST: (?:__[a-zA-Z0-9]+__ |)'
scope: test.header
- match: '{{.+?}}'
scope: test.error
- match: '^TODO: '
scope: todo
# JS groups positioning codes
- match: ' @@[0-9w,$*>:]+'
scope: comment.line.percentage
# rule delimiters
- match: '<<-|>>>'
scope: entity.action
- match: '__also__'
scope: entity.cond.green
- match: '__else__'
scope: entity.cond.red
- match: '-(-?\d*\.?(?::\.?-?\d+|))(?::|)>>'
scope: entity.error
captures:
1: entity.error.group
- match: '~(-?\d*(?::-?\d+|))>>'
scope: entity.tproc
captures:
1: entity.tproc.group
- match: '=>>'
scope: entity.disambiguator
- match: '/(-?\d*(?::-?\d+|))>>'
scope: entity.tag
captures:
1: entity.tag.group
- match: '!(-?\d*(?::-?\d+|))>>'
scope: entity.tag
captures:
1: entity.tag.group
# Tokens
- match: '(>)[\w-]+'
scope: string.lemma
captures:
1: entity.valid
- match: '(~)(?!(?:\d+(?::\d+|)|)>>)[^\s¬]*'
scope: string.regex
captures:
1: entity.valid
- match: '(@)([^@\s¬]*)'
scope: string.morph
captures:
1: entity.valid
2: string.morph.regex
- match: '(/)[\w-]+'
scope: string.tag
captures:
1: entity.valid
- match: '(?<=[^\w])([*][a-zA-Z0-9_]+)'
scope: string.morph
captures:
1: entity.valid
2: string.meta
- match: '(¬)(\S+)'
scope: string.morph
captures:
1: entity.invalid
2: string.morph.negregex
- match: '<(?:start|end)>'
scope: string.token
- match: '<>'
scope: string.jumptoken
# Escaped chars
- match: '\\(?:-?\d+|w|d|b|n|s|t)'
scope: constant.character.escape
# URL
- match: '\| ?https?://[\w./%?&=#+-]+'
scope: string.other
# special chars
- match: '[@=*^?¿!:+<>~]'
scope: keyword.other
- match: '\(\?(?:[:=!]|<!)|[(|)]'
scope: entity.parenthesis
- match: '\[|[]{}]'
scope: entity.brackets
|
Deleted misc/grammalecte.tmTheme version [a95cdb7606].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |