diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index c446465..3d41242 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -1,5 +1,6 @@ { "blink.cmp": { "branch": "main", "commit": "485c03400608cb6534bbf84da8c1c471fc4808c0" }, + "copilot.lua": { "branch": "master", "commit": "14bf786180b2ca4578915c56989b6d676dddc6f3" }, "flash.nvim": { "branch": "main", "commit": "3c942666f115e2811e959eabbdd361a025db8b63" }, "fzf-lua": { "branch": "main", "commit": "098d50b0acc17ce427e2b5f466f487daf9ad4b5e" }, "grug-far.nvim": { "branch": "main", "commit": "45981a9af7f4e666a3cdaedb1d21d2ab926727a2" }, diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index da74855..0feda47 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -181,6 +181,21 @@ return require("lazy").setup({ require("nvim-autopairs").setup() end, }, + + { + "https://github.com/zbirenbaum/copilot.lua", + event = "InsertEnter", + config = function() + require("copilot").setup({ + suggestion = { + auto_trigger = true, + keymap = { + accept = "", + }, + }, + }) + end + }, -- }}} -- {{{ Git