Skip to content

Commit 91eaaef

Browse files
author
ANDREW M. TRICE
committed
hopefully fixed this 'error:' trailing colon issue for good
1 parent fa9887d commit 91eaaef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/syntaxes/log.tmLanguage

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,31 +91,31 @@
9191
</dict>
9292
<dict>
9393
<key>match</key>
94-
<string>\b(?i:(Down|Error|Failure|Fail|Fatal|false))\:?(\b)+</string>
94+
<string>\b(?i:(Down|Error|Failure|Fail|Fatal|false))(\:|\b)</string>
9595
<key>name</key>
9696
<string>error-token</string>
9797
</dict>
9898
<dict>
9999
<key>match</key>
100-
<string>\b(?i:(hint|info|information|true))\:?(\b)+</string>
100+
<string>\b(?i:(hint|info|information|true))(\:|\b)</string>
101101
<key>name</key>
102102
<string>info-token</string>
103103
</dict>
104104
<dict>
105105
<key>match</key>
106-
<string>\b(?i:(warning|warn|test|debug|null|undefined))\:?(\b)+</string>
106+
<string>\b(?i:(warning|warn|test|debug|null|undefined))(\:|\b)</string>
107107
<key>name</key>
108108
<string>warn-token</string>
109109
</dict>
110110
<dict>
111111
<key>match</key>
112-
<string>\b(?i:(local))\:?(\b)+</string>
112+
<string>\b(?i:(local))(\:|\b)</string>
113113
<key>name</key>
114114
<string>info-token</string>
115115
</dict>
116116
<dict>
117117
<key>match</key>
118-
<string>\b(?i:(server|running|remote))\:?(\b)+</string>
118+
<string>\b(?i:(server|running|remote))(\:|\b)</string>
119119
<key>name</key>
120120
<string>comment.line</string>
121121
</dict>

0 commit comments

Comments
 (0)