Closed jaekyeom closed 2 years ago
Currently, close() for the same preview window can be called multiple times (e.g., due to both autocmds and key mappings?), which leads to "Invalid window id" errors. This PR prevents it by safeguarding the close() function.
close()
Please consider merging this.
Thank you for contribution!
Currently,
close()
for the same preview window can be called multiple times (e.g., due to both autocmds and key mappings?), which leads to "Invalid window id" errors. This PR prevents it by safeguarding theclose()
function.Please consider merging this.