idanarye / vim-dutyl

Coordinate D tools to work together for you
http://www.vim.org/scripts/script.php?script_id=5003
79 stars 13 forks source link

Echo dub describe exception error when importing paths #42

Open Timoses opened 6 years ago

Timoses commented 6 years ago

This took me quite a while to track down.

The problem was that dub describe --annotate does not trigger downloads of not already downloaded dependencies which is why the command failed with "Non-optional dependency of not found in dependency tree!?. ".

This commit just prints the error the dub describe --annotate --verror gives and hints towards dub describe --annotate as the source of error.

Please see comment in commit regarding l:result concatenation.