Skip to content
Discussion options

You must be logged in to vote

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, if getchar() 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…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@megalithic
Comment options

@megalithic
Comment options

@echasnovski
Comment options

@echasnovski
Comment options

Answer selected by echasnovski
@megalithic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants