dotfiles/.config/nvim/lua/plugins/copilot.lua
2022-04-19 09:55:21 +02:00

6 lines
247 B
Lua

local map = require("dln.utils").map
map("i", "<C-J>", [[copilot#Accept("\<CR>")]], { noremap = true, silent = true, expr = true, script = true })
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
vim.g.copilot_tab_fallback = ""