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

Ruby code folding improper when using implicit begin blocks on method #18

Closed
titoBouzout opened this issue Dec 22, 2014 · 1 comment
Closed

Comments

@titoBouzout
Copy link
Collaborator

From @jptalton on September 4, 2014 13:16

OSX ST3 3065

when using implicit begin blocks on methods, with proper indentation, the folding ends at the rescue leaving the rest of the code 'dangling'

def foo
...
rescue
...
end

this will result in a folding that loos like:

def foo [...]
rescue
...
end

https://github.com/bbatsov/ruby-style-guide#begin-implicit

Copied from original issue: sublimehq/sublime_text#465

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