summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
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