summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index e59735a2..c3a3b5ba 100755
--- a/build
+++ b/build
@@ -75,7 +75,7 @@ copy_dir() {
}
concat_ftdetect() {
- cat ftdetect/* | grep -E '^[^"]' > tmp/polyglot.vim
+ for f in ftdetect/*; do (echo '" '"$f"; cat "${f}"; echo) >> tmp/polyglot.vim; done
rm -f ftdetect/*
mv tmp/polyglot.vim ftdetect/
}