summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/copilot.lua
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 09:00:56 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 09:00:56 -0400
commit7af7475ebbb47e376286866accb9c1822237e6de (patch)
tree9b65aa1a2f20c2f811a06392f9fe4c067a2cdc8d /lua/ben/plugins/copilot.lua
parent273545e803d66b626eeec19ec225c336957c23f1 (diff)
V4 of my lua config
Diffstat (limited to 'lua/ben/plugins/copilot.lua')
-rw-r--r--lua/ben/plugins/copilot.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/ben/plugins/copilot.lua b/lua/ben/plugins/copilot.lua
index 2347f29..c62a8f5 100644
--- a/lua/ben/plugins/copilot.lua
+++ b/lua/ben/plugins/copilot.lua
@@ -1,3 +1,10 @@
return {
"github/copilot.vim",
+ event = "VeryLazy",
+ config = function()
+ vim.cmd([[Copilot enable]])
+ end,
+ build = function()
+ vim.cmd([[Copilot setup]])
+ end,
}