stanaka / dash-at-point

a emacs lisp for searching the word at point with Dash
388 stars 32 forks source link

remove namespace from symbol before sending to dash #18

Open stask opened 9 years ago

stask commented 9 years ago

Removes the namespace qualifier from the search string before sending to dash. For example, if you required clojure.string :as string and then use string/join in your code, when you hit Ctrl-c,d, it'll search for join in clojure docset (instead of searching for string/join, which doesn't return any results).

It's a very basic fix (the proper fix will need to use cider's functions to resolve the thing-at-point to canonised form), but it works.