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

LSP Folding or Folding in General #1143

Open
Maxuvious opened this issue Sep 15, 2024 · 4 comments
Open

LSP Folding or Folding in General #1143

Maxuvious opened this issue Sep 15, 2024 · 4 comments

Comments

@Maxuvious
Copy link

I'm interested in seeing if it's possible to add lsp based folding to neovim kickstart. I've been looking around for how to configure this properly and have not found a proper implementation for myself yet.

I've had odd problems like having the same buffer open in two windows will make everything collapse or expand to the last set z-M or z-R once I saved the file with :w and would also move my cursor all the way to the top of the buffer in the other window I wasn't using -- lots of frustrating behaviors that would make me move to doom emacs agan for the next hour or so. I was using UFO -- it's probably just the way I had it configured.

A few other flavors of neovim have decent implementations of folding behavior by default, but that not as fun as having kickstart.

@feoh
Copy link
Collaborator

feoh commented Sep 16, 2024

Can you please give a specific example (like a link?) to what you're looking for?

@metalinspired
Copy link

Are you maybe using chrisgrieser/nvim-origami also?
I had the exact same issue until I removed this plugin.

@feoh
Copy link
Collaborator

feoh commented Sep 25, 2024

@Maxuvious Please respond. If we don't hear from you in another week I'll close the issue, and thanks for the report!

@gloomy-lemon-debatable
Copy link

@Maxuvious
I recently made a PR which might be related to this issue.
Frankly, I think adding a plugin for this feature would be a matter of opinion. However, at least I believe it's necessary for someone, and it wouldn't be a bad idea to note it as a best practice to help those lost beginners.
If you agree with my PR, I would appreciate it if you would use #1198 and give me your feedback.

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

4 participants