Modified config
This commit is contained in:
22
lua/taken/plugins/copilot.lua
Normal file
22
lua/taken/plugins/copilot.lua
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user