diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-10-08 13:47:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 13:47:50 +0800 |
| commit | c881bc537eac722c0c61aba3fe15f3f4c9e3c138 (patch) | |
| tree | cc1f6c38e25c1741047cff2759a86084fce08d88 /test/functional/vimscript/executable_spec.lua | |
| parent | f67306cc67e85bd3cc064dc470bfa3070deafcdc (diff) | |
| download | rneovim-c881bc537eac722c0c61aba3fe15f3f4c9e3c138.tar.gz rneovim-c881bc537eac722c0c61aba3fe15f3f4c9e3c138.tar.bz2 rneovim-c881bc537eac722c0c61aba3fe15f3f4c9e3c138.zip | |
vim-patch:9.1.1817: popup: there are some position logic bugs (#36075)
Problem: popup: there are some position logic bugs
Solution: Refactor position logic and fix a few bugs
(Girish Palya).
This change does the following:
- Simplified and rewrote horizontal positioning logic (was overly
complex).
- Split horizontal and vertical positioning into separate functions.
- Fixed missing truncation marker (e.g. `>`) when items were truncated
and `pummaxwidth` was not set.
- Fixed occasional extra space being added to menu items.
- Update tests
closes: vim/vim#18441
https://github.com/vim/vim/commit/e3ed5584ed7fad7070d49ddfba4f41bc2b22ca97
Cherry-pick pum_display_{rtl,ltr}_text() changes from patch 9.1.1835.
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions