readability: add newline and comment to generated ftdetect file (#142)

This commit is contained in:
Yulij Andreevich Lesov 2016-07-05 02:59:45 -05:00 committed by Adam Stankiewicz
parent c3233deb70
commit bd824d9407

2
build
View File

@ -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/
}