Skip to content

Commit 317dfcc

Browse files
committed
Include optional newline in comment.line
This allows for better scoping of caret at the end of the line.
1 parent 40f14ec commit 317dfcc

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
@@ -297,7 +297,7 @@
297297
</dict>
298298
</dict>
299299
<key>match</key>
300-
<string>\s*((//).*$)</string>
300+
<string>\s*((//).*$\n?)</string>
301301
</dict>
302302
</array>
303303
</dict>

0 commit comments

Comments
 (0)