AutoYADM commit: 2024-12-23 02:45:01
This commit is contained in:
parent
65dbc7fa28
commit
bb80f8a289
3 changed files with 18 additions and 2 deletions
|
@ -7,12 +7,19 @@ return {
|
|||
{ "giuxtaposition/blink-cmp-copilot", enabled = false },
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
dependencies = {
|
||||
"mikavilpas/blink-ripgrep.nvim",
|
||||
},
|
||||
-- opts_extend = {"sources"},
|
||||
opts = {
|
||||
sources = {
|
||||
default = { "lsp", "snippets", "path", "markdown", "lazydev", "buffer" },
|
||||
providers = {
|
||||
markdown = { name = "RenderMarkdown", module = "render-markdown.integ.blink" },
|
||||
ripgrep = {
|
||||
module = "blink-ripgrep",
|
||||
name = "Ripgrep",
|
||||
},
|
||||
},
|
||||
},
|
||||
appearance = {
|
||||
|
@ -67,6 +74,12 @@ return {
|
|||
["<C-p>"] = { "snippet_backward" },
|
||||
["<Up>"] = { "select_prev", "fallback" },
|
||||
["<Down>"] = { "select_next", "fallback" },
|
||||
["<C-g>"] = {
|
||||
function()
|
||||
-- invoke manually, requires blink >v0.8.0
|
||||
require("blink-cmp").show({ sources = { "ripgrep" } })
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue