We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blink.cmp
<C-k>
I want the completion menu always show at below of cursor. So I setup blink.cmp:
require("blink.cmp").setup({ ... completion = { menu = { direction_priority = { "s" }, }, }, ... })
But completion for cmdline won't show. (Seemed there's no area below the cmdline cursor).
Currently, I found modifying blink.cmp\lua\blink\cmp\completion\windows\menu.lua:L131 can make cmdline completion show:
blink.cmp\lua\blink\cmp\completion\windows\menu.lua:L131
local border_size = win:get_border_size() local direction_priority = config.direction_priority if vim.fn.mode():sub(1, 1) == 'c' then direction_priority = { 'n' } end local pos = win:get_vertical_direction_and_height(direction_priority, config.max_height)
Thanks.
neovim
NVIM v0.10.4
main, latest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
I want the completion menu always show at below of cursor. So I setup
blink.cmp
:But completion for cmdline won't show. (Seemed there's no area below the cmdline cursor).
Currently, I found modifying
blink.cmp\lua\blink\cmp\completion\windows\menu.lua:L131
can make cmdline completion show:Thanks.
Relevant configuration
neovim
versionNVIM v0.10.4
blink.cmp
versionmain, latest
The text was updated successfully, but these errors were encountered: