From d7873996b43339f6d272ffa8e3616a4e5793dc26 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 16 Sep 2013 16:53:38 +0200 Subject: Concat ftdetect scripts and mention startup cost in the README --- build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build') diff --git a/build b/build index f70d0714..5b449ad0 100755 --- a/build +++ b/build @@ -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 -- cgit v1.2.3