The preview window will still pop up even there is nothing to preview, and got placed in the status column which is quite strange.
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
So I did a little modification to prevent showing the empty preview window and a little style optimization if you don't mind.
The preview window will still pop up even there is nothing to preview, and got placed in the status column which is quite strange.
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
So I did a little modification to prevent showing the empty preview window and a little style optimization if you don't mind.