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

Consider adding a feature where comments preceding the method get in the same fold #3

Open
bruno- opened this issue Nov 24, 2014 · 4 comments

Comments

@bruno-
Copy link
Collaborator

bruno- commented Nov 24, 2014

No description provided.

@bruno-
Copy link
Collaborator Author

bruno- commented Nov 24, 2014

Other option is to just fold multi-line comments separately.

@bruno- bruno- changed the title Consider adding an feature where comments preceding the method get in the same fold Consider adding a feature where comments preceding the method get in the same fold Nov 25, 2014
@janko
Copy link

janko commented Feb 4, 2015

I would really like that latter option. I would like that I can configure vim-ruby-fold to fold only comments above methods. It would really help me to read Lotus' source code, because that code just has way too many comments.

@bruno-
Copy link
Collaborator Author

bruno- commented Feb 5, 2015

Hm.. my initial thought was to just fold all multi-line comments, no matter where their location is (above a class, above method etc). That ok?

@janko
Copy link

janko commented Feb 5, 2015

Yes, that would be great as well. There most often aren't any comments inside of code anyway (if it's written in a good way) and targeting all comments is probably simpler than just those above methods.

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