walterl / conjure-macroexpand

Macro-expand commands for Conjure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConjureMacroexpand

Adds commands ConjureMacroexpand, ConjureMacroexpand0 and ConjureMacroexpand1 that will macro-expand the form under the cursor, using Conjure's REPL connection.

This is the one bit of functionality missing from Conjure that kept vim-fireplace in my Neovim config.

Installation

Using vim-plug:

Plug 'walterl/conjure-macroexpand'

Mappings

  • <LocalLeader>cm - Calls clojure.walk/macroexpand-all on the form under the cursor.
  • <LocalLeader>c0 - Calls clojure.core/macroexpand on the form under the cursor.
  • <LocalLeader>c1 - Calls clojure.core/macroexpand-1 on the form under the cursor.

Configuration

Disable mappings:

set g:conjure_macroexpand_disable_mappings = 1

License

MIT

About

Macro-expand commands for Conjure

License:MIT License


Languages

Language:Lua 95.6%Language:Fennel 4.1%Language:Shell 0.2%Language:Makefile 0.1%Language:Vim Script 0.0%