diff --git a/plugin/copilot.vim b/plugin/copilot.vim deleted file mode 100644 index f29f800..0000000 --- a/plugin/copilot.vim +++ /dev/null @@ -1,114 +0,0 @@ -if exists('g:loaded_copilot') - finish -endif -let g:loaded_copilot = 1 - -scriptencoding utf-8 - -command! -bang -nargs=? -range=-1 -complete=customlist,copilot#CommandComplete Copilot exe copilot#Command(, , +"", 0, "", ) - -if v:version < 800 || !exists('##InsertLeavePre') - finish -endif - -function! s:ColorScheme() abort - if &t_Co == 256 - hi def CopilotSuggestion guifg=#808080 ctermfg=244 - else - hi def CopilotSuggestion guifg=#808080 ctermfg=12 - endif - hi def link CopilotAnnotation MoreMsg -endfunction - -function! s:MapTab() abort - if get(g:, 'copilot_no_tab_map') || get(g:, 'copilot_no_maps') - return - endif - let tab_map = maparg('', 'i', 0, 1) - if !has_key(tab_map, 'rhs') - imap