Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/walterl/conjure-macroexpand

Macro-expand commands for Conjure
https://github.com/walterl/conjure-macroexpand

aniseed clojure clojure-repl conjure fennel neovim neovim-plugin

Last synced: 2 days ago
JSON representation

Macro-expand commands for Conjure

Awesome Lists containing this project

README

        

# ConjureMacroexpand

Adds commands `ConjureMacroexpand`, `ConjureMacroexpand0` and
`ConjureMacroexpand1` that will macro-expand the form under the cursor, using
[Conjure](https://github.com/Olical/conjure)'s REPL connection.

This is the one bit of functionality missing from Conjure that kept
[vim-fireplace](https://github.com/tpope/vim-fireplace/) in my Neovim config.

## Installation

Using [vim-plug](https://github.com/junegunn/vim-plug):

```viml
Plug 'walterl/conjure-macroexpand'
```

## Mappings

* `cm` - Calls `clojure.walk/macroexpand-all` on the form under the cursor.
* `c0` - Calls `clojure.core/macroexpand` on the form under the cursor.
* `c1` - Calls `clojure.core/macroexpand-1` on the form under the cursor.

## Configuration

Disable mappings:

```viml
set g:conjure_macroexpand_disable_mappings = 1
```

## License

[MIT](./LICENSE.md)