Fork me on GitHub
#cider
<
2019-05-26
>
yuhan01:05:22

Does anyone know why cider-read-symbol-name and cider-try-symbol-at-point coerce keywords to symbols?

yuhan01:05:20

I was trying to write an extension to cider-doc which would dispatch to cider-browse-spec when called on a keyword, which is what I mean to do most of the time

yuhan01:05:44

And I can't think of a use-case where reading :foo/bar as foo/bar would be useful

bozhidar16:05:28

@qythium Likely it’s just how thing-at-point works, which seems reasonable to me. Keep in mind that symbols and keywords are different syntactic entities.

bozhidar16:05:17

I’m pretty certain I never made special efforts to coerce keywords to symbols. I just assumed that the users will run symbol specific commands on symbols. 🙂