-
Make sure you have done the following
Bug DescriptionIt force me to conform before do completion output.mp4Relevant configurationlocal M = {
"saghen/blink.cmp",
dependencies = { "rafamadriz/friendly-snippets" },
version = "1.*",
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
keymap = {
preset = "none",
["<Up>"] = { "select_prev", "fallback" },
["<Down>"] = { "select_next", "fallback" },
["<C-k>"] = { "select_prev", "fallback" },
["<C-j>"] = { "select_next", "fallback" },
["<CR>"] = { "accept", "fallback" },
["<C-n>"] = { "snippet_backward", "fallback" },
["<C-p>"] = { "snippet_forward", "fallback" },
},
appearance = {
highlight_ns = vim.api.nvim_create_namespace("blink_cmp"),
use_nvim_cmp_as_default = false,
nerd_font_variant = "mono",
kind_icons = {
Text = " ",
Method = " ",
Function = " ",
Constructor = " ",
Field = " ",
Variable = " ",
Class = " ",
Interface = " ",
Module = " ",
Property = " ",
Unit = " ",
Value = " ",
Enum = " ",
Keyword = " ",
Snippet = " ",
Color = " ",
File = " ",
Reference = " ",
Folder = " ",
EnumMember = " ",
Constant = " ",
Struct = " ",
Event = " ",
Operator = " ",
TypeParameter = " ",
},
},
-- (Default) Only show the documentation popup when manually triggered
completion = {
keyword = {
range = "full",
},
documentation = { auto_show = true },
list = { selection = { preselect = true, auto_insert = false } },
menu = {
auto_show = true,
draw = {
columns = {
{ "label", "label_description", gap = 1 },
{ "kind_icon", "kind" },
},
},
},
ghost_text = {
enabled = true,
defaulting to the first item
show_without_selection = false,
show_with_menu = true,
show_without_menu = true,
},
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
fuzzy = { implementation = "prefer_rust_with_warning" },
},
opts_extend = { "sources.default" },
}
return M
|
Beta Was this translation helpful? Give feedback.
Answered by
liinyun
Jun 17, 2025
Replies: 1 comment 2 replies
-
That's an LSP command triggering and asking for an input, look into the documentation for your LSP. You may need to edit your LSP capabilities or the LSP may have some other setting to disable it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
although they are all values type, and thy all provided by lsp. But the cmdline one is getten from runtime, it is a value in runtime, not the property of this config