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

if "class" appears in coffeescript code, e.g., class_name, subsequent lines are indented #247

Closed
canoeberry opened this issue Feb 21, 2018 · 0 comments

Comments

@canoeberry
Copy link

draw: () ->
  super
  @element.addClass(@class_name)
    indents_here_but_why()
  console.log ""

The reason it indents like this is because of class_name. It also happens if the variable is classname.

So any occurrence of class (but not Class) causes indent to increase. Can that be fixed? I am ... not good with sublime syntaxes but I am willing to play around if somebody can give me a hint?

deathaxe added a commit that referenced this issue Aug 25, 2024
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

No branches or pull requests

1 participant