From bb80f8a289aba8f3b43a7c7772c6ebe47b3ee640 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 23 Dec 2024 02:45:01 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-23 02:45:01 --- .config/nvim/lazy-lock.json | 1 + .config/nvim/lua/config/lazy.lua | 6 ++++-- .config/nvim/lua/plugins/blink.lua | 13 +++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 52b0da69..1dfc58be 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -4,6 +4,7 @@ "LuaSnip": { "branch": "master", "commit": "33b06d72d220aa56a7ce80a0dd6f06c70cd82b9d" }, "SchemaStore.nvim": { "branch": "main", "commit": "af3f82cd4972520e6ac04c48ed3eed473660efca" }, "blink-cmp-copilot": { "branch": "main", "commit": "e3eedf36ceda1932e296ec894de4ceea8ddeacb6" }, + "blink-ripgrep.nvim": { "branch": "main", "commit": "8a47d404a359c70c796cb0979ddde4c788fd44e5" }, "blink.cmp": { "branch": "main", "commit": "a9a0f96c6a1029884e37dfd74a88a075b40366dd" }, "bufferline.nvim": { "branch": "main", "commit": "261a72b90d6db4ed8014f7bda976bcdc9dd7ce76" }, "catppuccin": { "branch": "main", "commit": "faf15ab0201b564b6368ffa47b56feefc92ce3f4" }, diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index 33b0fee1..38adc6ce 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -34,7 +34,9 @@ require("lazy").setup({ version = false, -- always use the latest git commit -- version = "*", -- try installing the latest stable version for plugins that support semver }, - install = {}, + install = { + -- colo + }, checker = { enabled = true, -- check for plugin updates periodically notify = false, -- notify on update @@ -46,7 +48,7 @@ require("lazy").setup({ "gzip", -- "matchit", -- "matchparen", - -- "netrwPlugin", + "netrwPlugin", "tarPlugin", "tohtml", "tutor", diff --git a/.config/nvim/lua/plugins/blink.lua b/.config/nvim/lua/plugins/blink.lua index b8a93106..631bb0ff 100644 --- a/.config/nvim/lua/plugins/blink.lua +++ b/.config/nvim/lua/plugins/blink.lua @@ -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 { [""] = { "snippet_backward" }, [""] = { "select_prev", "fallback" }, [""] = { "select_next", "fallback" }, + [""] = { + function() + -- invoke manually, requires blink >v0.8.0 + require("blink-cmp").show({ sources = { "ripgrep" } }) + end, + }, }, }, },