Skip to content

Commit c3dad0b

Browse files
chore(build): auto-generate docs
1 parent b1a418a commit c3dad0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/extras/ai/copilot.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ opts = {
3131
suggestion = {
3232
enabled = not vim.g.ai_cmp,
3333
auto_trigger = true,
34+
hide_during_completion = vim.g.ai_cmp,
3435
keymap = {
3536
accept = false, -- handled by nvim-cmp / blink.cmp
3637
next = "<M-]>",
@@ -55,11 +56,12 @@ opts = {
5556
"zbirenbaum/copilot.lua",
5657
cmd = "Copilot",
5758
build = ":Copilot auth",
58-
event = "InsertEnter",
59+
event = "BufReadPost",
5960
opts = {
6061
suggestion = {
6162
enabled = not vim.g.ai_cmp,
6263
auto_trigger = true,
64+
hide_during_completion = vim.g.ai_cmp,
6365
keymap = {
6466
accept = false, -- handled by nvim-cmp / blink.cmp
6567
next = "<M-]>",

0 commit comments

Comments
 (0)