fix(ci): lower plugin count threshold to match 24-plugin config

This commit is contained in:
m1ngsama 2026-04-22 14:33:07 +08:00
parent f43c8e5f0f
commit f6b6976bc0

View file

@ -48,8 +48,8 @@ jobs:
vim -u .vimrc -N -c 'redir! > /tmp/test.txt | echo len(g:plugs) | redir END | qa!' 2>/dev/null vim -u .vimrc -N -c 'redir! > /tmp/test.txt | echo len(g:plugs) | redir END | qa!' 2>/dev/null
PLUGS=$(cat /tmp/test.txt | tr -d '[:space:]') PLUGS=$(cat /tmp/test.txt | tr -d '[:space:]')
echo "Plugins registered: $PLUGS" echo "Plugins registered: $PLUGS"
if [ "$PLUGS" -lt 25 ]; then if [ "$PLUGS" -lt 20 ]; then
echo "FAIL: expected 25+ plugins, got $PLUGS" echo "FAIL: expected 20+ plugins, got $PLUGS"
exit 1 exit 1
fi fi