Post

Thanks! To be fair, if a plugin can work within `vim.ui.input` API, it probably should. But when getting the input synchronously is a must, 'mini.input' is a good solution. Maybe `vim.ui.input` interface will cover synchronous case in the future (there are ways). We'll see.

I use an in-process LSP to provide better completions for snacks.input, so I suspected mini.input also needs a bit of config to attach the LSP 🙂 Highlights is the other thing but from the docs, it seems the native vim.ui.input highlight option will just work!

`vim.ui.input` interface supports custom completion with `'customlist,v:lua.my_compl'` completion field. Here `_G.my_compl` is a global function that takes data about base and has to synchronously return candidates. I'd suggest plugins to try and use this more universal approach.