mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:00:04 +08:00
parent
dcecba8ea0
commit
56e39b40e2
@ -242,7 +242,7 @@ check_requirements () {
|
||||
warn "缺少依赖:git"
|
||||
fi
|
||||
if hash "vim" &>/dev/null; then
|
||||
is_vim8=$(vim --version | grep "Vi IMproved 8.0")
|
||||
is_vim8=$(vim --version | grep "Vi IMproved 8")
|
||||
is_vim74=$(vim --version | grep "Vi IMproved 7.4")
|
||||
if [ -n "$is_vim8" ]; then
|
||||
success "检测到 Vim 版本: vim 8.0"
|
||||
|
@ -240,7 +240,7 @@ check_requirements () {
|
||||
warn "Check Requirements : git"
|
||||
fi
|
||||
if hash "vim" &>/dev/null; then
|
||||
is_vim8=$(vim --version | grep "Vi IMproved 8.0")
|
||||
is_vim8=$(vim --version | grep "Vi IMproved 8")
|
||||
is_vim74=$(vim --version | grep "Vi IMproved 7.4")
|
||||
if [ -n "$is_vim8" ]; then
|
||||
success "Check Requirements: vim 8.0"
|
||||
|
Loading…
Reference in New Issue
Block a user