diff options
author | glepnir <glephunter@gmail.com> | 2024-11-23 19:11:30 +0800 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-11-24 10:47:05 +0000 |
commit | 2a1f604c77a161f076f7d520d66fc6f051b625e7 (patch) | |
tree | c8286b7e2fadf261db7d4160a8b45c6d732e0db9 /runtime/lua/vim/hl.lua | |
parent | d9b08c58c34ba6c8083f533d5f7a0fd21e262d00 (diff) | |
download | rneovim-2a1f604c77a161f076f7d520d66fc6f051b625e7.tar.gz rneovim-2a1f604c77a161f076f7d520d66fc6f051b625e7.tar.bz2 rneovim-2a1f604c77a161f076f7d520d66fc6f051b625e7.zip |
fix(lsp): delete bufvar inside WinClosed event
Problem: floaing preview window can be closed by some
ex commands like `only` `fclose` which will not clean the bufvar
Solution: use WinClosed event with floating_winnr for clean
bufnr, and add test cases for vim.lsp.util.open_floating_preview
Diffstat (limited to 'runtime/lua/vim/hl.lua')
0 files changed, 0 insertions, 0 deletions