Skip to content

Commit 70b0e6a

Browse files
update XML
1 parent a537390 commit 70b0e6a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Agda.tmLanguage

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,7 @@
8282
</dict>
8383
<dict>
8484
<key>match</key>
85-
<string>\b(abstract|constructor|data|do|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b</string>
86-
<key>name</key>
87-
<string>keyword.other.agda</string>
88-
</dict>
89-
<dict>
90-
<key>match</key>
91-
<string>\b(Set|Prop)[0123456789₀₁₂₃₄₅₆₇₈₉]*(?=[[:space:]\(\)\{\}])</string>
85+
<string>\b(Set|Prop)[0123456789₀₁₂₃₄₅₆₇₈₉]*(?=$|[[:space:]\(\)\{\}])</string>
9286
<key>name</key>
9387
<string>constant.language.agda</string>
9488
</dict>
@@ -106,14 +100,20 @@
106100
<key>name</key>
107101
<string>keyword.other.agda</string>
108102
</dict>
109-
<key>3</key>
103+
<key>4</key>
110104
<dict>
111105
<key>name</key>
112106
<string>entity.name.agda</string>
113107
</dict>
114108
</dict>
115109
<key>match</key>
116-
<string>^(([[:space:]]+|abstract|instance|macro|pattern|postulate|primitive|private|syntax|variable|where|let)*)([^;\(\){}@"[:space:]]+)[[:space:]]+(?=:)</string>
110+
<string>^[[:space:]]*(((abstract|instance|macro|pattern|postulate|primitive|private|syntax|variable|where|let)[[:space:]]+)*)((([^;\(\){}@"[:space:]]+)[[:space:]]+)+)(?=:)</string>
111+
</dict>
112+
<dict>
113+
<key>match</key>
114+
<string>(?&lt;=^|[[:space:]\(\){}])(abstract|constructor|data|do|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)(?=$|[[:space:]\(\){}])</string>
115+
<key>name</key>
116+
<string>keyword.other.agda</string>
117117
</dict>
118118
</array>
119119
<key>scopeName</key>

0 commit comments

Comments
 (0)