From b4d7993e7ea554153025c5072749f415e69e0323 Mon Sep 17 00:00:00 2001 From: CH-DanReif <35710107+CH-DanReif@users.noreply.github.com> Date: Mon, 30 Apr 2018 11:55:17 -0700 Subject: Add haproxy to polyglot, check for directory existence before globbing it (#291) Add haproxy to polyglot, check for directory existence before globbing it --- build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build') 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 <> 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 -- cgit v1.2.3