diff options
author | glepnir <glephunter@gmail.com> | 2025-03-10 22:38:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-10 07:38:15 -0700 |
commit | afc3c43f12e2d9d8114c29636ba976f732efc3ed (patch) | |
tree | 9853a8f24b3b8ad1c4ff4eceb612268b5f2254ad /runtime/lua/vim/shared.lua | |
parent | 40a149e7f9926d29f19457da6a397b3b58b0b40f (diff) | |
download | rneovim-afc3c43f12e2d9d8114c29636ba976f732efc3ed.tar.gz rneovim-afc3c43f12e2d9d8114c29636ba976f732efc3ed.tar.bz2 rneovim-afc3c43f12e2d9d8114c29636ba976f732efc3ed.zip |
fix(popup): new preview_bufnr created when menu item is selected #32819
Problem:
"use_float" in the if-condition causes a new buffer to be generated on every execution.
Solution:
- Remove the incorrect use_float check from the condition.
- Use buf_clear to properly clear the existing buffer.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions