summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-16 16:53:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-16 16:54:16 +0200
commitd7873996b43339f6d272ffa8e3616a4e5793dc26 (patch)
tree15449a6f9f916414b8a8bec3d63fd18c44ec720a /build
parent73cbf0269e137499d22949da48cb71a24f7bfa73 (diff)
downloadvim-polyglot-d7873996b43339f6d272ffa8e3616a4e5793dc26.tar.gz
vim-polyglot-d7873996b43339f6d272ffa8e3616a4e5793dc26.zip
Concat ftdetect scripts and mention startup cost in the README
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 7 insertions, 0 deletions
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