Skip to content

Commit

Permalink
Stop illegal char after end of line
Browse files Browse the repository at this point in the history
Improvement over #52
  • Loading branch information
nicolasstucki committed Sep 23, 2019
1 parent 415ba76 commit a3d8f36
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/typescript/Scala.tmLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ export const scalaTmLanguage: TmLanguage = {
]
},
'char-literal': {
end: "'",
end: "'|$",
begin: "'",
beginCaptures: {
'0': {
Expand Down
Loading

0 comments on commit a3d8f36

Please sign in to comment.