Meikel Brandmeyer committed fb3a2c9

Provide more helpful message in doc lookup

Refers #12

  • Participants
  • Parent commits ce48728

Comments (0)

Files changed (1)

File src/main/clojure/vimclojure/backend.clj

     (fn [v] (print-doc v))
-    (throw (Exception. (str "No such Var or Namespace: " symbol)))))
+    (println
+      (str "'" symbol "' could not be found. Please check the spelling."))))
 (defn javadoc-path-for-class
   "Translate the name of a Class to the path of its javadoc file."