I've included a patch below to apply the "sh" filetype for files called .bash_aliases*. (I'm not exactly sure what the "*" is for, but I followed suit from .bash_profile and .bash_logout.)
Could you merge this patch into vim? diff -r 4604a182f04c runtime/filetype.vim --- a/runtime/filetype.vim Sun Nov 30 22:51:06 2014 +0100 +++ b/runtime/filetype.vim Tue Dec 02 22:09:51 2014 -0800 @@ -1856,7 +1856,7 @@ " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc. " Gentoo ebuilds are actually bash scripts -au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.b ash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash") +au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.b ash_profile*,.bash_logout*,.bash_aliases*,*.bash,*.ebuild call SetFileTypeSH("bash") au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh") au BufNewFile,BufRead */etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1)) Thanks! David -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.