aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/muttrc.vim
blob: 0f625f2bae8d3e2fed27c9cf3df1436eb4a0cd81 (plain)
1
2
3
4
5
6
7
" Add automatic commands to detect .muttrc files
augroup dotfiles_ftdetect_muttrc
  autocmd!
  autocmd BufNewFile,BufRead
        \ **/.dotfiles/mutt/muttrc.d/*.rc,**/.muttrc.d/*.rc
        \ setfiletype muttrc
augroup END