Add copilot plugin

This commit is contained in:
sfigato 2023-06-15 18:04:19 +02:00
parent 486e4676a4
commit 977652c7ad
Signed by: blallo
GPG Key ID: C530464EEDCF489A
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
imap <silent><script><expr> <c-a> copilot#Accept("\<CR>")
let g:copilot_no_tab_map = v:true
let g:copilot_filetypes = {
\ '*': v:false,
\ 'go': v:true,
\ }

@ -0,0 +1 @@
Subproject commit 1358e8e45ecedc53daf971924a0541ddf6224faf

1
vimrc
View File

@ -21,6 +21,7 @@ let mapleader = ','
" all other includes are in alphabetical order
source $VIMHOME/config/before/ale.vim
source $VIMHOME/config/before/copilot.vim
source $VIMHOME/config/before/fzf.vim
source $VIMHOME/config/before/indent.vim
source $VIMHOME/config/before/language-client.vim