Disable Copilot on mail, text and markdown files.
This commit is contained in:
@@ -167,3 +167,9 @@ nnoremap <leader>G :tabnew<CR>:GFiles<CR>
|
|||||||
" Copilot
|
" Copilot
|
||||||
imap <silent><script><expr> <C-J> copilot#Accept("\<CR>")
|
imap <silent><script><expr> <C-J> copilot#Accept("\<CR>")
|
||||||
let g:copilot_no_tab_map = v:true
|
let g:copilot_no_tab_map = v:true
|
||||||
|
let g:copilot_filetypes = {
|
||||||
|
\ "markdown": v:false,
|
||||||
|
\ "text": v:false,
|
||||||
|
\ "mail": v:false,
|
||||||
|
\ }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user