aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_system.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2025-02-27 18:41:29 +0800
committerGitHub <noreply@github.com>2025-02-27 02:41:29 -0800
commitac1c5ccb2c04177b526e0aa2ed286760fad98a5d (patch)
tree649fe81b3c728119dd2768ee317b058d3bdc06ba /runtime/lua/vim/_system.lua
parent6a9555c0faf3fbfc8001244ae2a19da4e92babd7 (diff)
downloadrneovim-ac1c5ccb2c04177b526e0aa2ed286760fad98a5d.tar.gz
rneovim-ac1c5ccb2c04177b526e0aa2ed286760fad98a5d.tar.bz2
rneovim-ac1c5ccb2c04177b526e0aa2ed286760fad98a5d.zip
fix(popup): reuse pum preview float win, set 'winfixbuf' #32636
Problem: popup floating window is closed and recreated for each item selection, this is a bit wasteful. Solution: - Hide the preview win (instead of closing it) when the menu is still displayed: 1. When selected_item is -1. 2. When switching from an item with an "info" field to one without. - When pum is undisplayed it is still closed.
Diffstat (limited to 'runtime/lua/vim/_system.lua')
0 files changed, 0 insertions, 0 deletions