From c4fde4054a432b06258ad7eb906e225fdf1dc357 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Tue, 14 Apr 2026 22:13:07 -0700 Subject: Bundle update Tue Apr 14 10:13:07 PM PDT 2026 --- .gitmodules | 4 ++-- bundle-update.sh | 29 +++++++++++++++++------------ pack/bundle/start/YouCompleteMe | 2 +- pack/bundle/start/airline | 2 +- pack/bundle/start/markdown | 2 +- pack/bundle/start/tabular | 2 +- 6 files changed, 23 insertions(+), 18 deletions(-) diff --git a/.gitmodules b/.gitmodules index 60039ff..224110e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "bundle/markdown"] path = pack/bundle/start/markdown - url = https://github.com/plasticboy/vim-markdown.git + url = https://github.com/preservim/vim-markdown.git [submodule "bundle/tabular"] path = pack/bundle/start/tabular url = https://github.com/godlygeek/tabular.git @@ -9,7 +9,7 @@ url = https://github.com/mtth/scratch.vim.git [submodule "bundle/airline"] path = pack/bundle/start/airline - url = https://github.com/bling/vim-airline.git + url = https://github.com/vim-airline/vim-airline.git [submodule "bundle/grammarous"] path = pack/bundle/start/grammarous url = https://github.com/rhysd/vim-grammarous.git diff --git a/bundle-update.sh b/bundle-update.sh index 578d1e8..28d7185 100755 --- a/bundle-update.sh +++ b/bundle-update.sh @@ -1,15 +1,20 @@ #!/bin/sh wd=$(dirname $0) -path="pack/bundle/start" -branch=$(git branch --show-current) - -for i in $(ls $wd/$path); do - pushd $wd/$path/$i - git pull origin $branch - popd > /dev/null -done - -cd $wd -git add . -git commit -m "Bundle update `date`" + +cd "$wd" +echo "Syncing submodules..." +git submodule sync --recursive +echo "Updating submodules to latest upstream..." +git submodule update --init --recursive --remote + +# Clean YCM to ensure a fresh state if needed +if [ -d "pack/bundle/start/YouCompleteMe" ]; then + echo "Cleaning YouCompleteMe..." + (cd pack/bundle/start/YouCompleteMe && git clean -fdx && git checkout .) +fi + +echo "Staging changes..." +git add .gitmodules bundle-update.sh pack/bundle/start/ +git commit -m "Bundle update $(date)" +echo "Update complete." diff --git a/pack/bundle/start/YouCompleteMe b/pack/bundle/start/YouCompleteMe index cc9a3ae..6a52780 160000 --- a/pack/bundle/start/YouCompleteMe +++ b/pack/bundle/start/YouCompleteMe @@ -1 +1 @@ -Subproject commit cc9a3ae3efdcc7d038aab0620ea28882533c236c +Subproject commit 6a52780a22dfd4ddafbe23c0d2c2a2107ceeb397 diff --git a/pack/bundle/start/airline b/pack/bundle/start/airline index 3b9e149..609e5c0 160000 --- a/pack/bundle/start/airline +++ b/pack/bundle/start/airline @@ -1 +1 @@ -Subproject commit 3b9e149e19ed58dee66e4842626751e329e1bd96 +Subproject commit 609e5c0ee171c370ad727b0b833e66fd34772aeb diff --git a/pack/bundle/start/markdown b/pack/bundle/start/markdown index 3a96439..1bc9d0c 160000 --- a/pack/bundle/start/markdown +++ b/pack/bundle/start/markdown @@ -1 +1 @@ -Subproject commit 3a9643961233c2812816078af8bd1eaabc530dce +Subproject commit 1bc9d0cd8e1cc3e901b0a49c2b50a843f1c89397 diff --git a/pack/bundle/start/tabular b/pack/bundle/start/tabular index 339091a..12437cd 160000 --- a/pack/bundle/start/tabular +++ b/pack/bundle/start/tabular @@ -1 +1 @@ -Subproject commit 339091ac4dd1f17e225fe7d57b48aff55f99b23a +Subproject commit 12437cd1b53488e24936ec4b091c9324cafee311 -- cgit v1.3.1