diff --git a/.vimrc b/.vimrc index c570091..94e2e83 100644 --- a/.vimrc +++ b/.vimrc @@ -50,6 +50,9 @@ call plug#begin('~/.vim/plugged') " Catppuccin color themes Plug 'catppuccin/nvim', { 'as': 'catppuccin' } + + " Github Copilot + Plug 'github/copilot.vim' end call plug#end() @@ -116,6 +119,13 @@ call plug#end() :xnoremap SlimeRegionSend :xnoremap SlimeRegionSend +" Configure Copilot and limit to certain filetypes +let g:copilot_filetypes = { + \ '*': v:false, + \ 'julia': v:true, + \ 'markdown': v:true, +\} + " Save folds between sessions augroup SaveFileView autocmd!