diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2025-04-29 15:55:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-29 15:55:00 +0200 |
| commit | 08c484f2ca4b58e9eda07e194e9d096565db7144 (patch) | |
| tree | 11bf4b019310a6b93855ad4d44296414a34a3b76 /runtime/lua/vim/_meta/api_keysets.lua | |
| parent | 9bbbeb60e355844780db0aef955e860d68ac0342 (diff) | |
feat(ui): use builtin completion popupmenu with ext_cmdline (#31269)
Problem: UIs implementing ext_cmdline/message must also implement
ext_popupmenu in order to get cmdline completion with
wildoptions+=pum.
Solution: Allow marking a window as the ext_cmdline window through
nvim_open_win(), including prompt offset. Anchor the cmdline-
completion popupmenu to this window.
Diffstat (limited to 'runtime/lua/vim/_meta/api_keysets.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/api_keysets.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/api_keysets.lua b/runtime/lua/vim/_meta/api_keysets.lua index 2488139ce9..e55a3e9a7d 100644 --- a/runtime/lua/vim/_meta/api_keysets.lua +++ b/runtime/lua/vim/_meta/api_keysets.lua @@ -312,6 +312,7 @@ error('Cannot require a meta file') --- @field noautocmd? boolean --- @field fixed? boolean --- @field hide? boolean +--- @field _cmdline_offset? integer --- @class vim.api.keyset.win_text_height --- @field start_row? integer |
