Replies: 1 comment
-
Difficult to say exactly what's going on because I don't know all the code that's running. Certainly if we are not respecting the If you can get me a minimal repro using the bug report template I can look into it some more. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 Hi,
First of all I'd like to say thank you for writing dressing.nvim, it is an awesome plugin. As a plugin author, I have myself developed telescope-cc.nvim that leverages
vim.ui.input
.In order for my plugin users to be able to use dressing.nvim, I've written an action that uses callbacks due to
vim.ui.input
being async in dressing. For some reason, some of my contributors reported a possible bug on how modes are handled:I have tried reproducing the issue and although my config has the default
start_mode
toinsert
, it seems I have to hiti
to enter insert mode in the first window opened (next ones seems to be working fine). I suspect this line to execute after the chain of prompts ended since it goes to insert mode when the action is over, instead of staying in normal mode. It seems to be only with dressing since using the nativevim.ui.input
works fine.This function is what uses
vim.ui.input
. Would you have any idea on how I can fix this ?Thank you so much ! 🙏
Beta Was this translation helpful? Give feedback.
All reactions