feat: add nvimdots
This commit is contained in:
28
nvim/lua/modules/configs/completion/copilot.lua
Normal file
28
nvim/lua/modules/configs/completion/copilot.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return function()
|
||||
vim.defer_fn(function()
|
||||
require("modules.utils").load_plugin("copilot", {
|
||||
cmp = {
|
||||
enabled = true,
|
||||
method = "getCompletionsCycling",
|
||||
},
|
||||
panel = {
|
||||
-- if true, it can interfere with completions in copilot-cmp
|
||||
enabled = false,
|
||||
},
|
||||
suggestion = {
|
||||
-- if true, it can interfere with completions in copilot-cmp
|
||||
enabled = false,
|
||||
},
|
||||
filetypes = {
|
||||
["bigfile"] = false,
|
||||
["dap-repl"] = false,
|
||||
["fugitive"] = false,
|
||||
["fugitiveblame"] = false,
|
||||
["git"] = false,
|
||||
["gitcommit"] = false,
|
||||
["log"] = false,
|
||||
["toggleterm"] = false,
|
||||
},
|
||||
})
|
||||
end, 100)
|
||||
end
|
||||
Reference in New Issue
Block a user