Skip to content

Commit 9f4e434

Browse files
committed
re-enable copilot
1 parent b8233f8 commit 9f4e434

File tree

2 files changed

+20
-32
lines changed

2 files changed

+20
-32
lines changed

lua/custom/plugins/copilot-cmp.lua

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
if true then
2-
return {}
3-
else
4-
return {
5-
'zbirenbaum/copilot-cmp',
6-
config = function()
7-
require('copilot_cmp').setup()
8-
end,
9-
opts = {
10-
filetypes = {
11-
['.'] = false,
12-
go = true,
13-
},
1+
return {
2+
'zbirenbaum/copilot-cmp',
3+
config = function()
4+
require('copilot_cmp').setup()
5+
end,
6+
opts = {
7+
filetypes = {
8+
['.'] = false,
9+
go = true,
1410
},
15-
}
16-
end
11+
},
1712

18-
return {
19-
'https://github.com/mbbill/undotree',
20-
}

lua/custom/plugins/copilot.lua

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
if true then
2-
return {}
3-
else
4-
return {
5-
'zbirenbaum/copilot.lua',
6-
opts = {
7-
suggestion = { enabled = false },
8-
panel = { enabled = false },
9-
filetypes = {
10-
['.'] = false,
11-
go = true,
12-
},
1+
return {
2+
'zbirenbaum/copilot.lua',
3+
opts = {
4+
suggestion = { enabled = false },
5+
panel = { enabled = false },
6+
filetypes = {
7+
['.'] = false,
8+
go = true,
139
},
14-
}
15-
end
10+
},
11+
}

0 commit comments

Comments
 (0)