hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
189 stars 48 forks source link

Support shift-k documentation lookup. #59

Closed ekaschalk closed 6 years ago

ekaschalk commented 6 years ago

A feature I really miss from other modes is typing K to get the object-at-point's full documentation, performed by spacemacs/evil-smart-doc-lookup.

Now that Eldoc is coming together, this is my priority.

I already have it working resonably well substituting the eldoc output rather than the form at point but lots of formatting/buffer management work to do yet.

ekaschalk commented 6 years ago

Shift-K documentation lookup via hy-describe-thing-at-point is now supported and usable.

Further improvements:

  1. Newline formatting utilizes fill-region, might be too difficult to have better filling.
  2. Doesn't support the dot DSL yet unlike Eldoc.