From: Alexis Laferrière Date: Mon, 13 Apr 2015 03:52:34 +0000 (-0400) Subject: misc/vim: inform the user when no results are found X-Git-Tag: v0.7.4~30^2 X-Git-Url: http://nitlanguage.org misc/vim: inform the user when no results are found Signed-off-by: Alexis Laferrière --- diff --git a/misc/vim/plugin/nit.vim b/misc/vim/plugin/nit.vim index 2917756..86d5e45 100644 --- a/misc/vim/plugin/nit.vim +++ b/misc/vim/plugin/nit.vim @@ -318,6 +318,7 @@ fun Nitdoc(...) " Found no doc, give up if empty(docs) || !(join(docs, '') =~ '\w') + echo 'Nitdoc found nothing for "' . word . '"' return endif