diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-04-16 07:38:57 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-04-17 06:46:34 +0800 |
| commit | 54d60550982812f32df76bb69dc4e44ac81a645e (patch) | |
| tree | b8f41f47067937270e1ad5f74842dcbb90627f98 /runtime/lua/_vim9script.lua | |
| parent | 6e5671b00df14d2848b157beb42dae01205a6455 (diff) | |
| download | rneovim-54d60550982812f32df76bb69dc4e44ac81a645e.tar.gz rneovim-54d60550982812f32df76bb69dc4e44ac81a645e.tar.bz2 rneovim-54d60550982812f32df76bb69dc4e44ac81a645e.zip | |
vim-patch:9.1.1306: completion menu rendering can be improved
Problem: Parts of the popup menu were rendered twice when the popup was
at maximum width because the truncation flag was being set too
liberally.
Solution: Make the truncation condition more precise by only setting it
when there's exactly one character of space remaining
(glepnir).
closes: vim/vim#17108
https://github.com/vim/vim/commit/32f2bb6e1e672f52d736579d9752473b14a5744d
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/lua/_vim9script.lua')
0 files changed, 0 insertions, 0 deletions