Fork me on GitHub
#spacemacs
<
2017-12-06
>
naomarik12:12:42

i think i asked this before but didn’t have time to investigate: does anyone have smartparens working with yasnippet? i tend to use defn and let expansions frequently and it’s frustrating having no smart parens when i do this. i found this https://github.com/syl20bnr/spacemacs/pull/1644 so it looks like it was intentionally disabled

naomarik12:12:05

just looking into this more, seems there is no solution for using hippie-expand. is there a different way to accomplish same task of inserting code snippets while maintaining smartparens?

jeff.terrell13:12:19

@naomarik - I haven't gotten into yasnippet so I can't help with that. But I've been starting to get into clj-refactor, which might do some of the same things. For example: introduce a let binding: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-introduce-let

naomarik14:12:24

ahh yess, know about that, but this doesn’t really help when i know i need a let before writing things