comparison setup @ 688:17cacf387f7c

Update vendor ...also update scripts to support syntax subdirectories
author nanaya <me@nanaya.pro>
date Fri, 21 Oct 2022 20:17:06 +0900
parents 850b04203732
children a9fbb21ab09c
comparison
equal deleted inserted replaced
687:ae7f2fb75cdf 688:17cacf387f7c
152 152
153 for i in "${basedir}/vendor/vim-${x}"/*.vim; do 153 for i in "${basedir}/vendor/vim-${x}"/*.vim; do
154 file_name="`basename "/${i}"`" 154 file_name="`basename "/${i}"`"
155 _echon "[${file_name}]" 155 _echon "[${file_name}]"
156 _rc "${1}" "../vendor/vim-${x}/${file_name}" ".vim/${x}/${file_name}" > /dev/null 156 _rc "${1}" "../vendor/vim-${x}/${file_name}" ".vim/${x}/${file_name}" > /dev/null
157 done
158 for d in "${basedir}/vendor/vim-${x}"/*/; do
159 test -d "$d" || continue
160 dir_name="`basename "/${d}"`"
161 _echon "[${dir_name}]"
162 mkdir -p ".vim/${x}/${dir_name}"
163 for i in "${d}"/*.vim; do
164 file_name="`basename "/${i}"`"
165 _echon "[${file_name}]"
166 _rc "${1}" "../vendor/vim-${x}/${dir_name}/${file_name}" ".vim/${x}/${dir_name}/${file_name}" > /dev/null
167 done
157 done 168 done
158 _echo ...done 169 _echo ...done
159 } 170 }
160 171
161 _upgrade() { 172 _upgrade() {