chore(plugins): update plugin version (#2225)

* chore(plugins): update plugin version

* fix(lvim-info): make the git branch cmd compatible with mac
This commit is contained in:
Abouzar Parvan 2022-01-30 20:51:45 +01:00 committed by GitHub
parent 36f232279b
commit 31a48325cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View file

@ -89,7 +89,7 @@ end
---Get the current Lunarvim development branch
---@return string|nil
function M.get_lvim_branch()
local ret, branch = git_cmd { args = { "branch", "--show-current" } }
local ret, branch = git_cmd { args = { "rev-parse", "--abbrev-ref", "HEAD" } }
if ret ~= 0 or (not branch or branch[1] == "") then
Log:error "Unable to retrieve the name of the current branch. Check the log for further information"
return