Folke Lemaitre

Results 961 comments of Folke Lemaitre

I meant that it (or a similar event) could be useful to allow ui updates at some points where it's currently not possible. To be fair, I think I just...

I'm not sure what #27950 achieves regarding my bug report? > And for cmdpreview in particular, removing the redraw restriction is the way forward: https://github.com/neovim/neovim/issues/28510. That would be great >...

fyi, how I currently solve the issue with `cmdpreview`: * in a `CmdlineChanged` callback I do: * with `ffi` set `cmdpreview = false` * trigger a `redraw` * update the...

Yes, I meant #20463 indeed. I tried a couple of things with your PR: * in the `vim.ui_attach` callback, when receiving a `cmdline` message, update the ui right away: -...

> This is what I've been doing and I think it should be allowed That would be really great, but at least before all your recent work, this segfaulted Neovim...

When I created Noice and hit some of the issues with the implementation of `vim.ui_attach`, there were talks of maybe changing it so that callbacks would no longer be allowed...

Not really. Was mostly on matrix and a long time ago. A lot of the underlying issues with redraw have been fixed since I released Noice. Things that also triggered...

postponing when active is probably a good approach here. I currenty check if textlock is active with ffi and just queue the message, so receiving it later when textlock is...

You can already enable/disable multiple things. Check the readme

Install Neovim 0.10 or later. In older versions I had to add a hack to work-around https://github.com/neovim/neovim/issues/17810