How to display popupmenu while typing in commandline withou press <TAB>? #905
Answered
by
folke
basheewang
asked this question in
Q&A
-
I am using the default settings as recommended. {
"folke/noice.nvim",
event = "VeryLazy",
opts = {
-- add any options here
},
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
},
config = function()
require("noice").setup {
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,
},
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = false, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
}
end,
}, When I input in cmdline, I have to press TAB to get the popupmenu, and it will also always choose the first item matched what I typed. Is there any config to set just like buffer behavior to type with popupmenu automatically show up? |
Beta Was this translation helpful? Give feedback.
Answered by
folke
Jul 18, 2024
Replies: 1 comment 1 reply
-
Not possible with Noice since Noice is the cmdline. And regular Neovim also can't do that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
basheewang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not possible with Noice since Noice is the cmdline. And regular Neovim also can't do that.
You'll have to look into cmp-cmdline or simlar plugins for that functionaliy