Skip to content

🐛 fix comment string as pointed out in #507 #508

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

Merged
merged 1 commit into from
Jul 31, 2015
Merged

🐛 fix comment string as pointed out in #507 #508

merged 1 commit into from
Jul 31, 2015

Conversation

markogresak
Copy link
Contributor

I have found out that the grammar relies on #comments, which is in fact copied from javascript grammar.
Adding settings (copied from javascript grammar) ensures that the commentStartString is set to //.

The grammar options taken from javascript grammar, such as #comments I referred to earlier, might not even be necessary, since they are already provided from js grammar, but this has to be investigated and tested further, it should be done in separate PR.

@basarat
Copy link
Member

basarat commented Jul 31, 2015

That moment when the blame points back to yourself :

I added this file after much investigation on a late night : https://github.com/TypeStrong/atom-typescript/blob/cca22b287e88de8057f7b81936efde1c5f132ffd/settings/typescript.cson (my comment #159 (comment))

Then somehow decided that this file wasn't used : 424b424

👊 myself. Sorry 🌹 An thanks 🌹

basarat added a commit that referenced this pull request Jul 31, 2015
🐛 fix comment string as pointed out in #507
@basarat basarat merged commit e70b215 into TypeStrong:master Jul 31, 2015
@markogresak markogresak deleted the fix/comment-block branch July 31, 2015 10:03
@TypeStrong TypeStrong locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants