diff options
Diffstat (limited to '')
| -rwxr-xr-x | build | 2 | ||||
| -rw-r--r-- | ftdetect/polyglot.vim | 2 | 
2 files changed, 4 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/  } diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 5eb3f089..cc1ade60 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1,3 +1,4 @@ +augroup filetypedetect  " Enable jsx syntax by default  if !exists('g:jsx_ext_required')    let g:jsx_ext_required = 0 @@ -983,3 +984,4 @@ au BufRead,BufNewFile *.vm set ft=velocity syntax=velocity  endif +augroup END | 
