Skip to content

Fix #52: Stop illegal char after end of line or first space #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Sep 22, 2019

Screenshot 2019-09-22 at 22 04 40

@nicolasstucki nicolasstucki changed the title Fix #52: Stop illegal char after first space or end of line Fix #52: Stop illegal char after end of line Sep 22, 2019
@nicolasstucki nicolasstucki changed the title Fix #52: Stop illegal char after end of line Fix #52: Stop illegal char after end of line or first space Sep 22, 2019
@nicolasstucki nicolasstucki force-pushed the fix-#52 branch 2 times, most recently from 5b60dca to 4229f98 Compare September 23, 2019 05:54
@@ -572,7 +572,7 @@ export const scalaTmLanguage: TmLanguage = {
]
},
'char-literal': {
end: "'",
end: "'|([^'\\s]*\\s(?=[^'(//)]))|$",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not completely convinced that ([^'\\s]*\\s(?=[^'(//)])) is an improvement. I opened #61 in stead a a first step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants