]> git.pld-linux.org Git - packages/vim.git/blame - vim-ft-bash.patch
updated to 7.4.812
[packages/vim.git] / vim-ft-bash.patch
CommitLineData
9783cc37
ER
1--- vim72/runtime/filetype.vim~ 2008-12-27 04:25:56.000000000 +0200
2+++ vim72/runtime/filetype.vim 2009-04-02 19:14:10.972877140 +0300
3@@ -1682,7 +1682,7 @@
4 " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc.
5 " Gentoo ebuilds are actually bash scripts
6 au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*.bash,*.ebuild call SetFileTypeSH("bash")
7-au BufNewFile,BufRead /*/bash*completion*/* call SetFileTypeSH("bash")
8+au BufNewFile,BufRead /*/bash*completion,/*/bash*completion*/* call SetFileTypeSH("bash")
9 au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh")
10 au BufNewFile,BufRead /etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1))
11
This page took 0.261716 seconds and 4 git commands to generate.