bug: cursor stuck/disappears briefly for each edit #68
Labels
No labels
autorelease: pending
autorelease: tagged
bug
ci/cd
documentation
duplicate
enhancement
good first issue
help wanted
improvement
invalid
priority
high
priority
low
question
refactor
size
L
size
M
size
S
size
XS
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
noe.trevino/haunt.nvim#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0
Operating system/version
MacOS
Describe the bug
after adding annotation, if i make any edit in normal mode (e.g. press
x), the cursor disappears for half a second after about half a secondSteps To Reproduce
nvim -u repro.lua repro.luax, cursor does not blinkaand add annotationxExpected Behavior
cursor should not blink since it can be distracting
more context: i believe it's related to
github.com/TheNoeTrevino/haunt.nvim@cc21621800/lua/haunt/persistence.lua (L160-L176)keep callingget_git_rootandget_git_branchRepro
@joshuali925
Are you exaggerating when you say half a second? I am seeing a small flicker.
You were right! I dont see it anymore. Can you switch your branch to nightly and test?
On lazy, its
{ branch = "nightly" }.Let me know if it works as expected so i can close this out!
@TheNoeTrevino nice, it worked for me as well, thanks!
My guess is that it depends on CPU and the size of the git repo you are currently in