diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 6d6e5cd..7ad6c3b 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -118,7 +118,9 @@ function! s:update_git_branch(path) let s:vcs_config['git'].branch = name endfunction -function! s:update_hg_branch(path) +function! s:update_hg_branch(...) + " path argument is not actually used, so we don't actually care about a:1 + " it is just needed, because update_git_branch needs it. if s:has_lawrencium let stl=lawrencium#statusline() if !empty(stl) && g:airline#init#async && !get(b:, 'airline_mq_disabled', 0)