fix: blink now shows documentation after 500ms

This commit is contained in:
2026-02-22 21:17:09 +01:00
parent 9ec87f7523
commit 92c9f02ab2

View File

@@ -38,9 +38,27 @@ return {
appearance = { appearance = {
nerd_font_variant = "mono", nerd_font_variant = "mono",
}, },
completion = { documentation = { auto_show = false } }, completion = {
accept = { auto_brackets = { enabled = false }, },
list = { selection = { preselect = false, auto_insert = true } },
menu = {
auto_show = true,
-- nvim-cmp style menu
draw = {
columns = {
{ "label", "label_description", gap = 1 },
{ "kind_icon", "kind" }
},
}
},
-- Show documentation when selecting a completion item
documentation = { auto_show = true, auto_show_delay_ms = 500 },
-- Display a preview of the selected item on the current line
ghost_text = { enabled = true },
},
sources = {}, sources = {},
-- default = { "lsp", "path", "snippets", "buffer" },
fuzzy = { implementation = "prefer_rust_with_warning" }, fuzzy = { implementation = "prefer_rust_with_warning" },
}, },
opts_extend = { "sources.default" }, opts_extend = { "sources.default" },