56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# 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|morphVC|stem|tag|value|space_after|textarea0?\w*|before0?\w*|after0?\w*|word|option|define|define_from|select|exclude|analyse\w*|tag_\w+|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(?:alpha|upper|lower|digit|title))\b'
scope: support.function
- match: '\becho\b'
scope: support.function.debug
|
|
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# 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|morphVC|stem|tag|value|space_after|textarea0?\w*|before0?\w*|after0?\w*|word|option|define|define_from|select|exclude|analyse\w*|tag_\w+|apposition|is[A-Z]\w+|checkAgreement|rewrite|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(?:alpha|upper|lower|digit|title))\b'
scope: support.function
- match: '\becho\b'
scope: support.function.debug
|
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
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¬]*)'
|
>
>
>
>
>
|
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
1: entity.tag.group
# Tokens
- match: '(>)[\w-]+'
scope: string.lemma
captures:
1: entity.valid
- match: '(%)[\w-]+'
scope: string.phonet
captures:
1: entity.valid
- match: '(~)(?!(?:\d+(?::\d+|)|)>>)[^\s¬]*'
scope: string.regex
captures:
1: entity.valid
- match: '(@)([^@\s¬]*)'
|