-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add cycling functionality #14
base: master
Are you sure you want to change the base?
Conversation
I don't use outline mode, so I'm unsure how it works. 🤔 Can you paste screenshots or a GIF to show how it works? |
Screen.Recording.2024-07-24.at.3.53.50.PM.mov |
(progn ,@body) | ||
(save-excursion | ||
(back-to-indentation) | ||
(progn ,@body)) |
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.
I am worried this might have other side effects.
((pred (member 'show-all)) | ||
(seq-map (lambda (n) | ||
(treesit-fold-close-recursively nil n)) | ||
children))))) |
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.
You might want to autoload these commands.
Can you update the README according to the newly added commands?
This PR adds functionality similar to
outline-cycle
&outline-cycle-buffer
.There still may be some rough edges here so still working through it.