hey all, i'd love to use clojure.walk's macroexpand-all
in vim-iced. right now, <leader>em
does normal single macro-expansion, which is helpful, but if i want see nested forms expanded, i have to move the cursor to the window and use it again, losing the context
requiring clojure.walk and then wrapping the form in (macroexpand-all)
lets me evaluate it, but then i only see the expansion in the buffer line, which is unreadable and sometimes too big to see all of
what about as a hack, adding a pprint, then going ot the stdout buffer?
There's
n <Leader>eM <Plug>(iced_macroexpand_outer_list)
Have you tried it?
I'd expect eM to be just like em except grabbing the form differently -no, that's wrong
lol the docs have them both as lowercase m
, so i didn't realize there was a difference
yep, that works
sheeeeeeeit, this is awesome
thank you
my biggest annoyance with IDE-like setups is the ephemerality of results, so I often search for the option to log to a buffer instead of / as well as at the minibuffer or inline in a tooltip
@nbtheduke that's strange, you might consider to create a pull request to fix it.
yeah, it's something i miss from my meager attempts at learning emacs: i love slime's dedicated repl buffer
cool, i'll whip one up for you
do i have to run anything to convert adoc
to html? or does that happen live on the site?
never heard of this file format before
Honestly I don't know. I think it is converted by some kind of GitHub workflow.
I think you could just fix a function name in https://github.com/liquidz/vim-iced/blob/95c5c3572ffb8fffec727e2a42fe45e7fea0dc12/doc/pages/macro.adoc and open a pull request.
The format is called asciidoc
The workflow is here https://github.com/liquidz/vim-iced/blob/95c5c3572ffb8fffec727e2a42fe45e7fea0dc12/.github/workflows/document.yml
I end up using :term lein repl :connect NNNN
so that I can have a real repl for some commands, while using shortcuts for eg. require / reload / reset where I won't care about non-error return values
(:term is nvim only)
that sounds nice. i might have to try neovim
good find on the workflow
the one gotcha is that terminal buffers are so fully tty compatible that none of your shortcuts work (there's a new keymap, and a single C-\C-n
binding to escape terminal mode)