Closed Frederick888 closed 3 years ago
This autocmd removes eleline's cached branch name so that e.g. after a :Git checkout, the branch name in eleline can be updated immediately.
:Git checkout
This was mentioned at [1].
[1] https://github.com/liuchengxu/eleline.vim/pull/44#issuecomment-858524921
If I'm not mistaken, this is slightly better than call ElelineGitBranch(1) since it only re-retrieves branch name next the status line updates.
call ElelineGitBranch(1)
This autocmd removes eleline's cached branch name so that e.g. after a
:Git checkout
, the branch name in eleline can be updated immediately.This was mentioned at [1].
[1] https://github.com/liuchengxu/eleline.vim/pull/44#issuecomment-858524921
If I'm not mistaken, this is slightly better than
call ElelineGitBranch(1)
since it only re-retrieves branch name next the status line updates.