Skip to content

Commit 4ca419a

Browse files
Merge pull request #63 from jpbufe3/patch-1
Match scala symbols composed of valid punctuation
2 parents 559beec + 0ac7af4 commit 4ca419a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Syntaxes/Scala.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@
792792
<key>scala-symbol</key>
793793
<dict>
794794
<key>match</key>
795-
<string>'\w+(?=[^'\w])</string>
795+
<string>('\w+(?=[^'\w])|'[-?~&gt;&lt;^+*%:!#|/@\\]+(?=[-?~&gt;&lt;^+*%:!#|/@\\]))</string>
796796
<key>name</key>
797797
<string>entity.name.type.symbol.scala</string>
798798
</dict>

0 commit comments

Comments
 (0)