diff options
| author | glepnir <glephunter@gmail.com> | 2025-12-27 21:56:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-27 13:56:34 +0000 |
| commit | 922816877febf397fe854f01d8013a510d73f1d2 (patch) | |
| tree | 68d2afeccdeed2cb923d8353a31cb29c23488f58 /runtime/lua/vim/_core/stringbuffer.lua | |
| parent | 47aef025a7079f35234157e1080c997c4e90a91e (diff) | |
fix(pum): hide info floating window when insufficient space (#37107)
fix(pum): hide info window when insufficient space
Problem:
1. Info window was displayed even with insufficient space.
2. Tab characters counted as single cells.
Solution:
1. Hide window when space < 10 columns. Will be configurable
via completepopup width option in the future.
2. Use win_linetabsize over mb_string2cells.
Diffstat (limited to 'runtime/lua/vim/_core/stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions
