-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[editing] Integrate evil-vimish-fold via dotspacemacs-folding-method #14047
Conversation
Not confident that I have plugged this in everywhere that I should have. However I tested locally and it seems to be working.
bcbe7e5
to
d3bf6ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, I think you have found all the places to change.
Thank you for contributing to spacemacs 💜, I have cherry picked your commit into develop. |
New to emacs so probably an error on my part. I am on the develop branch but I can't seem to get this to work. I am working on an R file; I enclose a snippet of code witin "# {{{" and "# }}}", however nothing gets folded after I press "z c". In python only the line underneath gets folded (instead of the whole snippet of code). Thanks. |
@ECon87 Can you post a minimum example R script so I can try to reproduce the bug? |
The above snippet should it. When I press "z c" while it folds the area above "# {{{", and not below. If I remove the comment, then "zc" does not fold anything. Thanks for the response. |
I can confirm this. Do you know any particular editor that folds them? |
I can fold it in Vim. But just to make sure we are talking about identical items. I have the following code in my vimrc
Then, when I press "z R" (or z o, or z r or z a and so). The fold works as expected. |
https://github.com/alexmurray/evil-vimish-fold This may work. In particular it folds {{{ }}}. |
I might be wrong, but isn't this already working underneath the spacemacs fold functions? |
|
Hey @Kazark,
|
@ECon87 this will definitely not work with it set to |
@Kazark that worked like a charm. Thank you. I checked the merged code above, and just noticed that the possible values for the For anyone else on spacemacs develop branch, you might need to update via |
@ECon87 you may need to learn about |
Not confident that I have plugged this in everywhere that I should have. However
I tested locally and it seems to be working. Feedback coveted.