From 98e021e969637da8e88e66a0055f3a40ef4fcdfc Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 11 Sep 2016 13:34:02 +0200 Subject: Wrap ftdetect file in augroup, fixes #153 --- build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build') diff --git a/build b/build index 8e336487..1d28713d 100755 --- a/build +++ b/build @@ -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/ } -- cgit v1.2.3