fix: remove hack that is causing validation not to appear
With the recently added hack the UI select for database validation stopped working. The PR removes the hack to restore the functionality.
The hack was introduced to resolve #246. But since it's not possible to reproduce the error the issue is mentioning and there were also other changes, it can be assumed that it was not the hack that has fixed the issue. So it should be removed since it introduces other conflicts.
Tested with nvim 10.1 and nightly(2024-09-06).
I tested, but still see E5560 mentioned here with this patch.
@ttytm Perhaps, have you installed a plugin that overwrites vim.ui.select such as dressing.nvim? With such plugins, vim.ui.select runs asynchronously, and E5560 does not occur without this hack.
But also I think this hack is awkward. I will think another solution can solve this.