summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorCH-DanReif <35710107+CH-DanReif@users.noreply.github.com>2018-04-30 11:55:17 -0700
committerGitHub <noreply@github.com>2018-04-30 11:55:17 -0700
commitb4d7993e7ea554153025c5072749f415e69e0323 (patch)
tree291cdcef0ff1d9a84d43983b51af6ce1137b8592 /build
parentfb8c5fa8e92a29a1927044ccd18092d185743c80 (diff)
downloadvim-polyglot-b4d7993e7ea554153025c5072749f415e69e0323.tar.gz
vim-polyglot-b4d7993e7ea554153025c5072749f415e69e0323.zip
Add haproxy to polyglot, check for directory existence before globbing it (#291)
Add haproxy to polyglot, check for directory existence before globbing it
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 3ba0f711..1210e656 100755
--- a/build
+++ b/build
@@ -59,7 +59,7 @@ extract() {
continue
fi
- for f in "${dir}/ftdetect/"*; do
+ [ -d "${dir}/ftdetect" ] && for f in "${dir}/ftdetect/"*; do
cat <<EOF >> tmp/polyglot.vim
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '${pack%%:*}') == -1
augroup filetypedetect
@@ -152,6 +152,7 @@ PACKS="
groovy:vim-scripts/groovy.vim
haml:sheerun/vim-haml
handlebars:mustache/vim-mustache-handlebars
+ haproxy:CH-DanReif/haproxy.vim
haskell:neovimhaskell/haskell-vim
haxe:yaymukund/vim-haxe
html5:othree/html5.vim