We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c4959d commit f345b7aCopy full SHA for f345b7a
lua/copilot/init.lua
@@ -5,6 +5,7 @@ local defaults = {
5
cmp = {
6
enabled = true,
7
method = "getCompletionsCycling",
8
+ autofmt = true,
9
},
10
panel = { -- no config options yet
11
@@ -46,7 +47,7 @@ M.setup = function(opts)
46
47
client.start(user_config)
48
49
if user_config.cmp.enabled then
- require("copilot_cmp").setup(user_config.cmp.method)
50
+ require("copilot_cmp").setup(user_config.cmp)
51
end
52
53
if user_config.panel.enabled then
0 commit comments