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

Indent in Emacs is broken #1

Open
seisuke opened this issue Jul 12, 2012 · 2 comments
Open

Indent in Emacs is broken #1

seisuke opened this issue Jul 12, 2012 · 2 comments

Comments

@seisuke
Copy link

seisuke commented Jul 12, 2012

Transition_to method has "if" option, it broken emacs indent.
please rename it.

@opyh
Copy link
Owner

opyh commented Jul 12, 2012

You could just use Ruby's other syntax for hashes, ex.:

state.transition_to :other_state, :if => lambda {  }

Does this work for you?

@seisuke
Copy link
Author

seisuke commented Jul 13, 2012

That old hash syntax work well.
But i do not want to combine the new and old hash syntax.

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

2 participants