applied copilot config

This commit is contained in:
polamid23 2023-07-13 11:32:08 +02:00
parent 9784dfe498
commit eebfbacab7
2 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,5 @@
vim.g.mapleader = " " vim.g.mapleader = " "
vim.g.copilot_no_tab_map = true
require('plugins') require('plugins')
require('lsp') require('lsp')

2
lua/plugin/copilot.lua Normal file
View file

@ -0,0 +1,2 @@
vim.api.nvim_set_keymap('i', '<C-k>', 'copilot#Accept("<CR>")', {expr = true, silent = true})