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

crrs doesn't work with folding enabled #13

Open
SevereOverfl0w opened this issue Dec 2, 2016 · 1 comment
Open

crrs doesn't work with folding enabled #13

SevereOverfl0w opened this issue Dec 2, 2016 · 1 comment

Comments

@SevereOverfl0w
Copy link
Member

I use syntax folding for clojure (set fdm=syntax). To get crrs to work I had to:

  • set foldlevelstart=99 and open all folds in the current file.

I noticed that the folded blocks containing the symbol are changed in their entirety, instead of just the symbol being renamed.

Quick fix might be to do zv before making changes, or to set & unset the foldlevelstart (freezing the fold state somehow?)

There's possibly a better way to alter the symbol though.

@SevereOverfl0w
Copy link
Member Author

Also noticed that it pollutes my undo history, ideally per-file it would be one undo. May not be possible though, just an ideal goal.

Struggling to think of a plugin that would operate similarly to this, maybe one of the grep ones?

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

1 participant