misc/vim: inform the user when no results are found
[nit.git] / misc / vim / plugin / nit.vim
index 2917756..86d5e45 100644 (file)
@@ -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