Skip to content

Commit 8e22a1c

Browse files
committed
Allow a space after case keyword
1 parent 317dfcc commit 8e22a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Syntaxes/Scala.tmLanguage

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
</dict>
381381
</dict>
382382
<key>match</key>
383-
<string>(case)?\b(class|trait|object)\s+([^\s\{\(\[]+)</string>
383+
<string>(?:(case) +)?\b(class|trait|object)\s+([^\s\{\(\[]+)</string>
384384
</dict>
385385
<dict>
386386
<key>captures</key>

0 commit comments

Comments
 (0)