From 0c9b81dd8af2c4952ef5c878475e638e5ff9b497 Mon Sep 17 00:00:00 2001 From: a-rossetti Date: Sun, 12 Jan 2025 14:58:45 +0100 Subject: [PATCH] added github copilot --- init.lua | 7 +++++++ pack/github/start/copilot.vim | 1 + 2 files changed, 8 insertions(+) create mode 160000 pack/github/start/copilot.vim diff --git a/init.lua b/init.lua index 1026f542..1167ffa9 100644 --- a/init.lua +++ b/init.lua @@ -919,6 +919,13 @@ require('lazy').setup({ -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects }, + { -- Integrated Github Copilot + 'github/copilot.vim', + cmd = 'Copilot', + event = 'InsertEnter', + build = ':Copilot auth', + }, + -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and -- place them in the correct locations. diff --git a/pack/github/start/copilot.vim b/pack/github/start/copilot.vim new file mode 160000 index 00000000..87038123 --- /dev/null +++ b/pack/github/start/copilot.vim @@ -0,0 +1 @@ +Subproject commit 87038123804796ca7af20d1b71c3428d858a9124