diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 14:29:31 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 14:29:31 +1300 |
commit | 851731635ac4fa247c98dc690f2f0c93362c5b27 (patch) | |
tree | 6a3a41c0e12aa83828d4477fd3a0214cb99149e6 /vim/ftdetect/muttrc.vim | |
parent | Clear autocommands in ftdetect augroups (diff) | |
download | dotfiles-851731635ac4fa247c98dc690f2f0c93362c5b27.tar.gz dotfiles-851731635ac4fa247c98dc690f2f0c93362c5b27.zip |
Merge two ftdetect rules for Muttrc files
Put the patterns together with a comma to keep them in the same rule. I
suspect my original intention was to keep things clear, but this doesn't
seem so bad now.
Diffstat (limited to 'vim/ftdetect/muttrc.vim')
-rw-r--r-- | vim/ftdetect/muttrc.vim | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vim/ftdetect/muttrc.vim b/vim/ftdetect/muttrc.vim index 1800aff9..b54efd76 100644 --- a/vim/ftdetect/muttrc.vim +++ b/vim/ftdetect/muttrc.vim @@ -1,13 +1,7 @@ " Add automatic commands to detect .muttrc files augroup dfmuttrc autocmd! - autocmd BufNewFile,BufRead - \ **/.dotfiles/mutt/muttrc.d/*.rc + \ **/.dotfiles/mutt/muttrc.d/*.rc,**/.muttrc.d/*.rc \ setlocal filetype=muttrc - - autocmd BufNewFile,BufRead - \ **/.muttrc.d/*.rc - \ setlocal filetype=muttrc - augroup END |