46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# other.
- match: '\b(?:if|else|and|or|not|in)\b'
scope: keyword.python
- match: '\b(?:True|False|None)\b'
scope: constant.language
- match: '\b(?:spell|morph|morphex|g_morph|stem|textarea0?\w*|before0?\w*|after0?\w*|word|option|define|select|exclude|g_define|g_select|g_exclude|analysex?|apposition|is[A-Z]\w+|rewriteSubject|checkD\w+|getD\w+|has[A-Z]\w+|sugg[A-Z]\w+|switch[A-Z]\w+|ceOrCet|formatN\w+|mbUnit)\b'
scope: entity.name.function
- match: '\b(?:replace|endswith|startswith|search|upper|lower|capitalize|strip|rstrip|is(?:upper|lower|digit|title))\b'
scope: support.function
- match: '\becho\b'
scope: support.function.debug
|
|
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# other.
- match: '\b(?:if|else|and|or|not|in)\b'
scope: keyword.python
- match: '\b(?:True|False|None)\b'
scope: constant.language
- match: '\b(?:spell|morph|morphex|stem|textarea0?\w*|before0?\w*|after0?\w*|word|option|define|select|exclude|analysex?|tag_|apposition|is[A-Z]\w+|rewriteSubject|checkD\w+|getD\w+|has[A-Z]\w+|sugg[A-Z]\w+|switch[A-Z]\w+|ceOrCet|formatN\w+|mbUnit)\b'
scope: entity.name.function
- match: '\b(?:replace|endswith|startswith|search|upper|lower|capitalize|strip|rstrip|is(?:upper|lower|digit|title))\b'
scope: support.function
- match: '\becho\b'
scope: support.function.debug
|
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
1: keyword.error.group
- match: '~(\d*(?::\d+|))>>'
scope: keyword.textprocessor
captures:
1: keyword.textprocessor.group
- match: '=>>'
scope: keyword.disambiguator
# Tokens
- match: '(>)\w+'
scope: string.lemma
captures:
1: keyword.valid
|
>
>
>
>
>
|
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
1: keyword.error.group
- match: '~(\d*(?::\d+|))>>'
scope: keyword.textprocessor
captures:
1: keyword.textprocessor.group
- match: '=>>'
scope: keyword.disambiguator
- match: '/(\d*)>>'
scope: keyword.tag
captures:
1: keyword.tag.group
# Tokens
- match: '(>)\w+'
scope: string.lemma
captures:
1: keyword.valid
|
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
scope: string.other
# Example errors
- match: '{{.+?}}'
scope: message.error
# special chars
- match: '[@=*^?!:+<>~]'
scope: keyword.other
- match: '\(\?(?:[:=!]|<!)|[(|)]'
scope: keyword.parenthesis
- match: '\[|[]{}]'
scope: keyword.brackets
|
|
|
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
scope: string.other
# Example errors
- match: '{{.+?}}'
scope: message.error
# special chars
- match: '[@=*^?¿!:+<>~]'
scope: keyword.other
- match: '\(\?(?:[:=!]|<!)|[(|)]'
scope: keyword.parenthesis
- match: '\[|[]{}]'
scope: keyword.brackets
|