Skip to content

Commit

Permalink
Add comment about a short-cut
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasFeher committed Dec 11, 2024
1 parent ae58d20 commit bd85c5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/vim-bob.vim
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,10 @@ function! s:QueryPaths(package_list, query_params)
" could not parse name, something else happened
throw "error calling '" . l:command . "': " . join(l:result)
endif
" create a new list without the failed package
" Create a new list without all occurences of the failed package.
" This might be wrong, because only the first occurence failed, and
" others might be using different variables and therefore not faile!
" But it speeds up the process significantly.
let l:new_list = []
if g:bob_verbose
echom "Error calling '" . l:command . "': " . join(l:result) . " Removing package and retrying ..."
Expand Down

0 comments on commit bd85c5a

Please sign in to comment.