diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-04-28 18:29:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-28 18:29:17 -0400 |
| commit | 55ceb314ca96ac45418df00e3a1018e18e89dc9b (patch) | |
| tree | fa201bbd12b5b7a508640c1b892932a8dbdd5c59 /runtime/lua/vim/provider/python.lua | |
| parent | 33ea63011ca3c78b2a453dc6669ba5bf39147d9a (diff) | |
| download | rneovim-55ceb314ca96ac45418df00e3a1018e18e89dc9b.tar.gz rneovim-55ceb314ca96ac45418df00e3a1018e18e89dc9b.tar.bz2 rneovim-55ceb314ca96ac45418df00e3a1018e18e89dc9b.zip | |
feat(ui): use vim.ui.select for :tselect, z= #39478
Problem:
`:tselect` and `z=` (spell suggest) have their own bespoke select menus.
Solution:
- Delegate to `vim.ui.select` instead.
- Bonus:
- `:tselect` gains mouse support. `print_tag_list` didn't suport mouseclick.
This causes some minor regressions, which are not blockers:
- `z=` no longer draws the list right-left if 'rightleft' is set.
- TODO: can/should `vim.ui.select` / `vim.fn.inputlist()` handle that?
- `:tselect`
- No "column" headings (`# pri kind tag file`).
- No highlighting: (HLF_T: tag name, HLF_D: file, HLF_CM: extra fields).
- TODO: can `vim.ui.select()` support highlighted chunks (`[[text, hl_id], ...]`) ?
fix https://github.com/neovim/neovim/issues/25814
fix https://github.com/neovim/neovim/issues/31987
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions