Grammalecte  Diff

Differences From Artifact [04f493455e]:

To Artifact [cd1072ee1f]:


106
107
108
109
110
111
112
113

114


115
116

117


118
119

120



121





122
123
124
125
126
127
128
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







-
+

+
+

-
+

+
+

-
+

+
+
+

+
+
+
+
+







      scope: keyword.textprocessor
      captures:
        1: keyword.textprocessor.group
    - match: '=>>'
      scope: keyword.disambiguator

    # Tokens
    - match: '>\w+'
    - match: '(>)\w+'
      scope: string.lemma
      captures:
        1: keyword.valid

    - match: '~(?!(?:\d+(?::\d+|)|)>>)[^\s]+'
    - match: '(~)(?!(?:\d+(?::\d+|)|)>>)[^\s]+'
      scope: string.regex
      captures:
        1: keyword.valid

    - match: '@[^@][^\s]+'
    - match: '(@)([^@][^\s¬]+)'
      scope: string.morph
      captures:
        1: keyword.valid
        2: string.morph.pattern

    - match: '(¬)(\S+)'
      scope: string.morph
      captures:
        1: keyword.invalid
        2: string.morph.antipattern  

    # Escaped chars
    - match: '\\(?:\d+|w|d|b|n|s|t)'
      scope: constant.character.escape

    # URL
    - match: '\| ?https?://[\w./%?&=#+-]+'