Concat ftdetect scripts and mention startup cost in the README

This commit is contained in:
Adam Stankiewicz
2013-09-16 16:53:38 +02:00
parent 73cbf0269e
commit d7873996b4
30 changed files with 129 additions and 205 deletions

7
build
View File

@@ -50,6 +50,12 @@ copy_dir() {
done
}
concat_ftdetect() {
cat ftdetect/* | grep -E '^[^"]' > tmp/polyglot.vim
rm -f ftdetect/*
mv tmp/polyglot.vim ftdetect/
}
PACKS="
arduino:sudar/vim-arduino-syntax
bundler:tpope/vim-bundler
@@ -103,5 +109,6 @@ mkdir -p tmp
printf "Downloading packs..."
download "$PACKS"
extract "$PACKS"
concat_ftdetect
rm -rf tmp