diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2020-05-20 19:35:10 +0200 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-05-20 19:35:10 +0200 | 
| commit | c8b350432ca844d2771632d74c5d1175cffd57eb (patch) | |
| tree | 004fefd4b8d192881e13636183c4e956dbf83256 /build | |
| parent | cdb8e233c2e01c835ec78ae453c9793ade224309 (diff) | |
| download | vim-polyglot-c8b350432ca844d2771632d74c5d1175cffd57eb.tar.gz vim-polyglot-c8b350432ca844d2771632d74c5d1175cffd57eb.zip | |
Remove generation of ftdetect from buildv4.4.0
Diffstat (limited to '')
| -rwxr-xr-x | build | 26 | 
1 files changed, 0 insertions, 26 deletions
| @@ -37,8 +37,6 @@ download() {  extract() {    echo -  cat config.vim >> tmp/polyglot.vim -    for pack in $1; do      name="$(cut -d ':' -f 1 <<<"$pack")"      path="$(cut -d ':' -f 2 <<<"$pack")" @@ -66,32 +64,8 @@ extract() {      fi      output "${subdirs##, })"$'\n' - -    if (echo "julia coffee-script elixir fish git plantuml scala swift jinja fsharp" | grep -qF "$name"); then -      echo "Skipping ftdetect installation of $name" >&2 -      continue -    fi - -    ftdetect=("${dir}${subtree:-/}ftdetect"/*) -    if [ "$ftdetect" ] && [ "$ftdetect" != "${dir}${subtree:-/}ftdetect/*" ]; then -      IFS=$'\n' ftdetect=($(sort -V <<< "${ftdetect[*]}")); unset IFS -      for f in "${ftdetect[@]}"; do -        cat <<EOF >> tmp/polyglot.vim -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '${pack%%:*}') == -1 -  augroup filetypedetect -  " ${pack%%:*}, from ${f##*/ftdetect/} in ${pack#*:} -$(cat "${f}") -  augroup end -endif - -EOF -      done -    fi -    done -  mv tmp/polyglot.vim ftdetect/ -    for pack in $1; do      name="$(cut -d ':' -f 1 <<<"$pack")"      path="$(cut -d ':' -f 2 <<<"$pack")" | 
