Skip to content

Commit a3d8f36

Browse files
committed
Stop illegal char after end of line
Improvement over scala#52
1 parent 415ba76 commit a3d8f36

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

src/typescript/Scala.tmLanguage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ export const scalaTmLanguage: TmLanguage = {
572572
]
573573
},
574574
'char-literal': {
575-
end: "'",
575+
end: "'|$",
576576
begin: "'",
577577
beginCaptures: {
578578
'0': {

0 commit comments

Comments
 (0)