From cbf745cb6fa37bbfbd81c06b3e20a7c09ba85922 Mon Sep 17 00:00:00 2001 From: Lorran David Date: Sat, 4 Jan 2025 20:21:57 -0300 Subject: [PATCH] add copilot --- lua/custom/plugins/copilot.lua | 23 +++++++++++++++++++++++ lua/custom/plugins/wilder.lua | 1 + 2 files changed, 24 insertions(+) create mode 100644 lua/custom/plugins/copilot.lua diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua new file mode 100644 index 00000000..47bc3786 --- /dev/null +++ b/lua/custom/plugins/copilot.lua @@ -0,0 +1,23 @@ +return { + { + "zbirenbaum/copilot.lua", + verylazy = true, + cmd = "Copilot", + build = ":Copilot auth", + config = function() + require("copilot").setup() + end + }, + + { + "CopilotC-Nvim/CopilotChat.nvim", + dependencies = { + { "zbirenbaum/copilot.lua" }, + { "nvim-lua/plenary.nvim", branch = "master" }, -- for curl, log and async functions + }, + build = "make tiktoken", -- Only on MacOS or Linux + opts = {}, + }, + + { 'AndreM222/copilot-lualine' }, +} diff --git a/lua/custom/plugins/wilder.lua b/lua/custom/plugins/wilder.lua index 3571d346..a2968089 100644 --- a/lua/custom/plugins/wilder.lua +++ b/lua/custom/plugins/wilder.lua @@ -1,6 +1,7 @@ return { { "gelguy/wilder.nvim", + enabled = false, keys = { ":", "/",