moved from mini.completion to nvim-cmp

This commit is contained in:
sgraves committed 2026-07-30 22:01:36 -05:00
1 parent 16e24146e5
commit 2929d9d70b
6 files changed
+294 -95

No files matched your search

+8 -43
View File
@@ -615,6 +615,14 @@ if not NV_DARCULA_ENABLE_COC then
vim.lsp.buf.signature_help({border = "rounded", max_width = 120})
end
)
km.set(
{"i", "n"},
"<C-Space>",
function()
vim.lsp.buf.signature_help({border = "rounded", max_width = 120})
end
)
end
end
@@ -668,48 +676,6 @@ if not NV_DARCULA_ENABLE_COC then
end
end
function M.mini()
if not NV_DARCULA_ENABLE_COC then
local map_multistep = require("mini.keymap").map_multistep
map_multistep(
"i",
"<Tab>",
{
"minisnippets_next",
"minisnippets_expand",
"pmenu_next"
}
)
map_multistep(
"i",
"<S-Tab>",
{
"minisnippets_prev",
"pmenu_prev"
}
)
map_multistep(
"i",
"<CR>",
{
"pmenu_accept",
"minipairs_cr"
}
)
map_multistep(
"i",
"<BS>",
{
"minipairs_bs"
}
)
end
end
function M.navigation()
km.nmap(
"<M-Left>",
@@ -1441,7 +1407,6 @@ end
if not NV_DARCULA_ENABLE_COC then
M.mason()
end
M.mini()
M.navigation()
M.nvim_dap()
M.nvim_haven()