diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2016-09-11 13:34:02 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-09-11 13:34:02 +0200 |
commit | 98e021e969637da8e88e66a0055f3a40ef4fcdfc (patch) | |
tree | 786e116dec27fb0209d69cac29eea6c64d078b35 /build | |
parent | b8d993932931549cc2bf8158abc9bad026d14c11 (diff) | |
download | vim-polyglot-98e021e969637da8e88e66a0055f3a40ef4fcdfc.tar.gz vim-polyglot-98e021e969637da8e88e66a0055f3a40ef4fcdfc.zip |
Wrap ftdetect file in augroup, fixes #153
Diffstat (limited to 'build')
-rwxr-xr-x | build | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -76,8 +76,10 @@ copy_dir() { } concat_ftdetect() { + echo "augroup filetypedetect" > tmp/polyglot.vim cat config.vim >> tmp/polyglot.vim for f in ftdetect/*; do (echo '" '"$f"; cat "${f}"; echo) >> tmp/polyglot.vim; done + echo "augroup END" >> tmp/polyglot.vim rm -f ftdetect/* mv tmp/polyglot.vim ftdetect/ } |