Strange behaviour with Neovim / Fugitive #635
phantomwhale
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have lefthook set up and running nicely from the command line. By default, we only have a pre-push hook; we do nothing for pre-commit.
If I
git commit
from the shell, I am taken into a neovim editor very quickly to type the message (no hooks to run!)Lefthook is installed via
brew
on my MacOSHowever, when I am in neovim, running the Fugitive plugin, if I run the
:Git commit
command, before it opens up the window to put in the commit message, it shows the following in the messages bar:^[]11;?^[\^[[6n
In then also freezes for 3-4 seconds, as if something is running, before taking you to the commit message screen (or if you hit the enter key a few times, it seems to break the flow, and an empty window opens up instead?!)
I've tried to debug further, but I'm struggling to recreate this outside of neovim. I am aware of tpope/vim-fugitive#1446 but this feels slightly different, and perhaps more lefthook specific?
Beta Was this translation helpful? Give feedback.
All reactions