Skip to content
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

// comments are nested in scala-mode #5261

Closed
scabug opened this issue Dec 1, 2011 · 2 comments
Closed

// comments are nested in scala-mode #5261

scabug opened this issue Dec 1, 2011 · 2 comments

Comments

@scabug
Copy link

scabug commented Dec 1, 2011

The syntax table definition for scala-mode makes // comments "nestable". I.e. when using them on 2 consecutive lines, they extend to the line thereafter:

// comment 1
// comment 2
app.Run() // <-- this line is highlighted as a comment

Additionally, a " *" gets inserted when you open a new line.

The attached patch fixes this for me, making only /* style comments nested.

I'm using Emacs build from bzr trunk.

@scabug
Copy link
Author

scabug commented Dec 1, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5261?orig=1
Reporter: Claudio Bley (cb)
Attachments:

@scabug scabug added this to the Backlog milestone Apr 7, 2017
@scala scala deleted a comment from scabug Feb 17, 2018
@SethTisue
Copy link
Member

emacs stuff doesn't live in scala/* anymore

@scala scala deleted a comment from scabug Feb 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants