feat(utils): require git in check_required_runtime
This commit is contained in:
parent
d1127f3e9b
commit
74f699c5a1
1 changed files with 4 additions and 0 deletions
|
|
@ -366,6 +366,10 @@ function M.check_required_runtime()
|
||||||
return false, timeout.reason
|
return false, timeout.reason
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if vim.fn.executable('git') ~= 1 then
|
||||||
|
return false, 'git is required for credential storage'
|
||||||
|
end
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue