hide completion menu by default because it gets in the way sometimes

This commit is contained in:
lucy 2026-04-01 13:12:05 +02:00
commit af647c2b2d
3 changed files with 8 additions and 5 deletions

View file

@ -33,4 +33,4 @@ map("n", "<leader>t", "<cmd> terminal <cr>")
map("n", "<A-t>", "<cmd>Lspsaga term_toggle<cr>")
map("t", "<esc>", "<c-\\><c-n>")
map("n", "<A-e>", "<cmd>NvimTreeToggle<cr>")
map("n", "<C-c>", "<cmd> vim.b.completion != vim.b.completion <cr>")

View file

@ -42,7 +42,10 @@ return {
},
-- (Default) Only show the documentation popup when manually triggered
completion = { documentation = { auto_show = false } },
completion = {
documentation = { auto_show = true },
menu = { auto_show = false },
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },