-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support for applying marker
method in parallel with ufo
#90
Comments
It's similar to #22. Two steps:
|
thanks |
This was my solution to this problem. it is not perfect, but it works well enough for my needs.
|
|
I implemented the marker provider in a fork: https://github.com/LucasAVasco/nvim-ufo/tree/main Pull request: #218 I also implemented a function to merge UFO providers (also can merge functions that returns Foldings): https://github.com/LucasAVasco/nvim-ufo/tree/featMergeProviders Pull request: #219 If you want to use both (and my pull requests have not yet been accepted), you can use this branch: https://github.com/LucasAVasco/nvim-ufo/tree/markerAndMergeProviders |
Feature description
Hi there! Is it somehow possible to implement support to apply methods, that was selected in ufo (ts/lsp) simultaneously with marker (to support vim's default
{{{
/}}}
at the same time)?Describe the solution you'd like
I'm not sure, how is it supposed to look like if taking {n,}vim's internal
marker
method, but, probably, it can be made by writing custom function, that implements same behaviour 🤷I'll try to invent something myself, but can't promise anything, and would be glad to get some help/code snippets for that.
Or, if that would "internal" functionality of ufo 😀
Thanks in advance!
Additional context
No response
The text was updated successfully, but these errors were encountered: