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

Fold automatically #36

Open
seagle0128 opened this issue Feb 26, 2017 · 4 comments
Open

Fold automatically #36

seagle0128 opened this issue Feb 26, 2017 · 4 comments

Comments

@seagle0128
Copy link

It's great folding tool. But will it support folding automatically, e.g. for methods, classes, if...else..., while..., etc.
yafold and origami are able to do the similar things, but I like vimish interface very much!

@mrkkrp
Copy link
Collaborator

mrkkrp commented Feb 27, 2017

Such a feature would require the package to be aware of syntax of various languages. I'm afraid it's out of scope for the tool.

@kaushalmodi
Copy link

Probably related feature request would be to automatically fold all regions that match a start and end regexp.

@myrgy
Copy link

myrgy commented Jun 29, 2018

It would be great to have it. In general I had this issue #47 only because I was not able to fold without selection.

@Kazark
Copy link

Kazark commented Oct 22, 2020

I wonder if there is a possibility (which may not even be a PR to this repo) of making this play together with some other folding solution which did the language-based folding. I plugged this package into Spacemacs (with evil-vimish-fold). Sometimes Spacemacs has some fancy logic to pull together multiple packages and delegate to one or the other contextually. If I get brave, I may attempt this; but it would be Spacemacs-only.

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

5 participants