You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My setup currently makes noice.nvim use of completion menu look weird - I suspect it's because I use mini.completion as the engine.
(The info window floats all the way to the left and the popupmenu itself appears one line higher than what I'd expect, constricting the view)
--noice.luareturn {
'folke/noice.nvim',
event='VeryLazy',
opts= {
routes= {
{
view='notify',
filter= { event='msg_show', kind='', find='written' },
},
},
lsp= {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**override= {
['vim.lsp.util.convert_input_to_markdown_lines'] =true,
['vim.lsp.util.stylize_markdown'] =true,
['cmp.entry.get_documentation'] =true, -- requires hrsh7th/nvim-cmp
},
},
-- you can enable a preset for easier configurationpresets= {
-- bottom_search = true, -- use a classic bottom cmdline for searchcommand_palette=true, -- position the cmdline and popupmenu togetherlong_message_to_split=true, -- long messages will be sent to a splitinc_rename=false, -- enables an input dialog for inc-rename.nvimlsp_doc_border=false, -- add a border to hover docs and signature help
},
},
dependencies= {
'MunifTanjim/nui.nvim',
},
}
EDIT: The weird border turned out to be vim.opt.winborder = 'single' in my config, while I suspect the weird info position is because of this line: https://github.com/nvim-mini/mini.nvim/blob/main/lua/mini/completion.lua#L1548
I suspect noice.nvim's substitution of pmenu has thoise set to 0, therefore forcing the window to the left of the screen.
Maybe calling nvim_ui_pum_set_bounds could help? But that says "UI not attached to channel: 1" when called Nevertheless, unsetting vim.o.winborder still didn't make the border show on autocomplete menu Turns out that I set opts.popupmenu.border.style instead of opts.views.popupmenu.border.style - nvm then.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
My setup currently makes


noice.nvimuse of completion menu look weird - I suspect it's because I usemini.completionas the engine.(The info window floats all the way to the left and the popupmenu itself appears one line higher than what I'd expect, constricting the view)
Is there any way to fix this?
EDIT: The weird border turned out to be
vim.opt.winborder = 'single'in my config, while I suspect the weird info position is because of this line: https://github.com/nvim-mini/mini.nvim/blob/main/lua/mini/completion.lua#L1548I suspect
noice.nvim's substitution ofpmenuhas thoise set to 0, therefore forcing the window to the left of the screen.Maybe calling
nvim_ui_pum_set_boundscould help? But that says "UI not attached to channel: 1" when calledNevertheless, unsettingTurns out that I setvim.o.winborderstill didn't make the border show on autocomplete menuopts.popupmenu.border.styleinstead ofopts.views.popupmenu.border.style- nvm then.All reactions