From 9cd2488334177f78e2249d001fa1fa85ff9cef3c Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Thu, 28 Apr 2016 22:18:05 +0200 Subject: Runtime: Re-add support for Arch Linux PKGBUILDs. Originally done in #1087, but was accidentally removed in #4595. Resolves #4613, resolves #4667. --- runtime/filetype.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 757b9a0db7..c5a3577a62 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1858,7 +1858,7 @@ au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog') " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc. " Gentoo ebuilds and Arch Linux PKGBUILDs are actually bash scripts -au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash[_-]profile*,.bash[_-]logout*,.bash[_-]aliases*,*.bash,*/{,.}bash[_-]completion{,.d,.sh}{,/*},*.ebuild,*.eclass call SetFileTypeSH("bash") +au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash[_-]profile*,.bash[_-]logout*,.bash[_-]aliases*,*.bash,*/{,.}bash[_-]completion{,.d,.sh}{,/*},*.ebuild,*.eclass,PKGBUILD* call SetFileTypeSH("bash") au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh") au BufNewFile,BufRead */etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1)) -- cgit