Disable Copilot on mail, text and markdown files.

This commit is contained in:
2026-10-21 16:55:10 +02:00
parent 36ac19b609
commit 2cf0679a7b
+6
View File
@@ -167,3 +167,9 @@ nnoremap <leader>G :tabnew<CR>:GFiles<CR>
" Copilot
imap <silent><script><expr> <C-J> copilot#Accept("\<CR>")
let g:copilot_no_tab_map = v:true
let g:copilot_filetypes = {
\ "markdown": v:false,
\ "text": v:false,
\ "mail": v:false,
\ }