Modified config

This commit is contained in:
2023-09-04 00:35:27 +02:00
parent 307ff3cc83
commit b120973409
3 changed files with 32 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
return {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
suggestion = {
auto_trigger = true,
keymap = {
accept = "<TAB>",
},
},
filetypes = {
lua = true,
javascript = true,
python = true,
markdown = true,
json = true,
},
})
end,
}