-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
allow undotree() to return tree for any buffer #12292
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #12292 +/- ##
==========================================
- Coverage 82.08% 81.66% -0.42%
==========================================
Files 160 160
Lines 193483 193659 +176
Branches 43446 43460 +14
==========================================
- Hits 158812 158159 -653
- Misses 21834 22687 +853
+ Partials 12837 12813 -24
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Problem: undotree() does not support getting the undo tree for any buffer other than the current one. Solution: Add an optional "buffer number" parameter to undotree(). If omitted, use the current buffer for backwards compatibility. Fixes vim#4001.
zeertzjq
reviewed
Aug 10, 2023
per @zeertzjq Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Can you please update and rebase this PR to the latest? |
zeertzjq
added a commit
to zeertzjq/neovim
that referenced
this pull request
Aug 11, 2023
Problem: undotree() only works for the current buffer Solution: Add an optional "buffer number" parameter to undotree(). If omitted, use the current buffer for backwards compatibility. closes: vim/vim#4001 closes: vim/vim#12292 vim/vim@5fee111 Co-authored-by: Devin J. Pohly <djpohly@gmail.com>
zeertzjq
added a commit
to neovim/neovim
that referenced
this pull request
Aug 11, 2023
) Problem: undotree() only works for the current buffer Solution: Add an optional "buffer number" parameter to undotree(). If omitted, use the current buffer for backwards compatibility. closes: vim/vim#4001 closes: vim/vim#12292 vim/vim@5fee111 Co-authored-by: Devin J. Pohly <djpohly@gmail.com>
chrisbra
pushed a commit
to chrisbra/vim
that referenced
this pull request
Sep 22, 2023
Problem: undotree() only works for the current buffer Solution: Add an optional "buffer number" parameter to undotree(). If omitted, use the current buffer for backwards compatibility. closes: vim#4001 closes: vim#12292 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Devin J. Pohly <djpohly@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem: undotree() does not support getting the undo tree for any
buffer other than the current one.
Solution: Add an optional "buffer number" parameter to undotree(). If
omitted, use the current buffer for backwards compatibility.
Fixes #4001.