ms-jpq / coq_nvim

Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.
GNU General Public License v3.0
3.57k stars 99 forks source link

Not showing preview window if there is nothing in docs. #652

Closed ccbhj closed 4 months ago

ccbhj commented 4 months ago

The preview window will still pop up even there is nothing to preview, and got placed in the status column which is quite strange.

image

And sometimes it just won't disappear even though the completion menu is closed. Maybe this is because the empty preview got placed in the wrong position and therefore might not be closed correctly image

So I did a little modification to prevent showing the empty preview window and a little style optimization if you don't mind.

ms-jpq commented 4 months ago

great! tyty