hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
191 stars 47 forks source link

inferior lisp, a backtick inserts an apostrophe with smartparens #51

Closed gilch closed 7 years ago

gilch commented 7 years ago

smartparens now pairs `' in the inferior lisp buffer. Not in the Hy buffer though. The Spacemacs SPC k lisp-state functions turn on smartparens, so it needs to work correctly in the inferior lisp buffer too.

ekaschalk commented 7 years ago

Sure. Do we want emacs-lisp style `' completion within comments? I'll move to implement eldoc support eventually, though that will require some work.

gilch commented 7 years ago

I'm not sure what that would be good for. How is that used in elisp?

We'd prefer to use Python's doc tools where possible. That probably means supporting ReST in docstrings.

The docstrings are one thing but it would probably take an adapter to find ; comments for use with other tools. We're not putting them in the AST at all. I'm not sure where they'd fit, but we could add custom attrs to things.