aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2016-04-28 22:18:05 +0200
committerFlorian Walch <florian@fwalch.com>2016-04-28 22:18:05 +0200
commit9cd2488334177f78e2249d001fa1fa85ff9cef3c (patch)
tree2b48a56b5e6a89ef02ed765bb9d5d00a45ef42b9
parent81e0874a54de2213af13dda385b2c2d46cec14ae (diff)
downloadrneovim-9cd2488334177f78e2249d001fa1fa85ff9cef3c.tar.gz
rneovim-9cd2488334177f78e2249d001fa1fa85ff9cef3c.tar.bz2
rneovim-9cd2488334177f78e2249d001fa1fa85ff9cef3c.zip
Runtime: Re-add support for Arch Linux PKGBUILDs.
Originally done in #1087, but was accidentally removed in #4595. Resolves #4613, resolves #4667.
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
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))