Skip to content

Commit f345b7a

Browse files
committed
update with new copilot_cmp format opts
1 parent 2c4959d commit f345b7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/copilot/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ local defaults = {
55
cmp = {
66
enabled = true,
77
method = "getCompletionsCycling",
8+
autofmt = true,
89
},
910
panel = { -- no config options yet
1011
enabled = true,
@@ -46,7 +47,7 @@ M.setup = function(opts)
4647
client.start(user_config)
4748

4849
if user_config.cmp.enabled then
49-
require("copilot_cmp").setup(user_config.cmp.method)
50+
require("copilot_cmp").setup(user_config.cmp)
5051
end
5152

5253
if user_config.panel.enabled then

0 commit comments

Comments
 (0)