all repos

init.lua @ 7c68a2b

my nvim config
3 files changed, 2 insertions(+), 72 deletions(-)
refactor: remove copilot stuff
Author: Olexandr Smirnov olexsmir@gmail.com
Committed at: 2025-07-26 19:15:53 +0300
Parent: b954fd5
M lazy-lock.json

@@ -1,9 +1,6 @@

{ - "CopilotChat.nvim": { "branch": "main", "commit": "4944b11123ef7c8f9f6ddd0c85de5e4d20b45690" }, - "blink-copilot": { "branch": "main", "commit": "bdc45bbbed2ec252b3a29f4adecf031e157b5573" }, "blink.cmp": { "branch": "main", "commit": "9bcb14b43852a6f2bfd5ac9ef29cb5cf09b1b39b" }, "checkmate.nvim": { "branch": "main", "commit": "1b7aa6a9db3580cf4bc22be6654e340b05cbc787" }, - "copilot.lua": { "branch": "master", "commit": "3680bebcc95dfd6c7509466367e66f6dc64a5140" }, "curl.nvim": { "branch": "main", "commit": "fe07677a2a24bc8793b90fa2c0da626ea6c9e47d" }, "fidget.nvim": { "branch": "main", "commit": "b61e8af9b8b68ee0ec7da5fb7a8c203aae854f2e" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
M lua/plugins/completion.lua

@@ -1,8 +1,8 @@

+---@return LazySpec return { "saghen/blink.cmp", dependencies = { "rafamadriz/friendly-snippets", - { "fang2hou/blink-copilot", dependencies = "copilot.lua" }, }, version = "1.*", event = "InsertEnter",

@@ -24,7 +24,7 @@ auto_show_delay_ms = 300,

}, }, sources = { - default = { "copilot", "lsp", "path", "snippets", "buffer" }, + default = { "lsp", "path", "snippets", "buffer" }, per_filetype = { lua = { inherit_defaults = true, "lazydev" }, },

@@ -33,12 +33,6 @@ lazydev = {

name = "LazyDev", module = "lazydev.integrations.blink", score_offset = 100, - }, - copilot = { - name = "copilot", - module = "blink-copilot", - score_offset = 100, - async = true, }, }, },
D

@@ -1,61 +0,0 @@

-local enabled = true - ----@type LazySpec -return { - { - "zbirenbaum/copilot.lua", - enabled = enabled, - cmd = "Copilot", - build = ":Copilot auth", - opts = { - suggestion = { enabled = false }, - panel = { - enabled = false, - auto_refresh = true, - keymap = { refresh = "<C-r>" }, - layout = { - position = "right", - ratio = 0.3, - }, - }, - filetypes = { - yaml = true, - TelescopePrompt = false, - org = false, - ledger = false, - todotxt = false, - ["."] = false, - }, - }, - }, - - { - "CopilotC-Nvim/CopilotChat.nvim", - dependencies = { "copilot.lua" }, - enabled = enabled, - -- stylua: ignore - cmd = { "CopilotChat", "CopilotChatFix", "CopilotChatTests", "CopilotChatExplain", "CopilotChatDocs"}, - build = "make tiktoken", - keys = { - { "<leader>C", ":CopilotChat ", mode = { "n", "v" } }, - }, - ---@module "CopilotChat" - ---@type CopilotChat.config - opts = { - auto_insert_mode = true, - mappings = { - ---@diagnostic disable-next-line: missing-fields - reset = { - insert = "<C-r>", - normal = "<C-r>", - }, - ---@diagnostic disable-next-line: missing-fields - submit_prompt = { - insert = "<C-CR>", - }, - ---@diagnostic disable-next-line: missing-fields - show_help = { normal = "?" }, - }, - }, - }, -}