From bd85c5a16e099194f623c1b70e3755ab5b7f910e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Feh=C3=A9r?= Date: Wed, 11 Dec 2024 14:28:36 +0100 Subject: [PATCH] Add comment about a short-cut --- plugin/vim-bob.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/vim-bob.vim b/plugin/vim-bob.vim index 7e97912..e988c5d 100644 --- a/plugin/vim-bob.vim +++ b/plugin/vim-bob.vim @@ -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 ..."