Experience weird behaviour with mini.jump #104
-
Anyone else experiencing randomly breaking behaviour in mini.jump where you might Here's a loom to illustrate, wasn't sure how to describe it: Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
echasnovski
Aug 4, 2022
Replies: 1 comment 6 replies
-
Very strange indeed.
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I've got to the bottom of this and created an issue in 'fidget.nvim'. This is not the first time it has encountered this type of issue: it also happened for 'clever-f'.
The reason seems to be quite complex. The 'fidget.nvim' is doing asynchronous update of lines in its window (as it is expected to do). It is wrapped in
vim.schedule()
(how it is supposed to be done). However, ifgetchar()
is called inside expression mapping, it blocks Neovim while still trying to execute all asynchronous calls. This results in error, because text can't be changed when Neovim is blocked. This error manifests itself in disabling lua statusline and perform undo on current buffer (no idea why this specifica…