-
Notifications
You must be signed in to change notification settings - Fork 8
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
Suggestion about NEOGIT_COMMIT_EDITMSG #1
Comments
Good suggestions, thanks! |
Hm... This change triggers the following error:
Steps to reproduce
|
@stevearc, if you will use |
Now we switch to the buffer in question *before* calling bunload/bdelete/bwipe. This more closely mimics the behavior of `bufhidden` Addresses #1. We're rolling back the defaul pinning of neogit commit message. See issue for discussion.
Thanks for the report! The issue comes in here: https://github.com/TimUntersberger/neogit/blob/a859c0ddc526fafaa21e9613e11aa06ad9258e1c/lua/neogit/popups/commit.lua#L32-L40 Neogit is running
With stickybuf before the change I just made:
My change does fix the issue with I don't want this plugin to provide any behavior by default that could cause errors under normal use, so I'm removing the pinning from the commit message. If you still want that behavior, add it back in your own config and use |
Thanks! |
I found that Neogit commit messsage could be marked as sticky too. It opened by Neogit vertically to NeogitStatus. This is how I use it:
I opened the issue because you may want to make it sticky by default.
The text was updated successfully, but these errors were encountered: