Skip to content

Two methods without empty line between them are folded as if they were one single method #6

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

Open
alexanderbird opened this issue Oct 19, 2015 · 1 comment

Comments

@alexanderbird
Copy link

I've started working on a project with loose style guidelines, so there are many files with inconsistent spacing between methods. It would be great to have the methods that don't have a gap between them treated individually.

Simplified example:

def foo
end
def bar
end

def baz
end

is folded as

4 lines: def foo
2 lines: def baz
@bruno-
Copy link
Collaborator

bruno- commented Oct 25, 2015

This seems to be a bug. PR for this is welcome!

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