Skip to content

Instantly share code, notes, and snippets.

@michaelmrose
michaelmrose / Example.md
Last active October 12, 2018 23:42
A Colored Clojure Repl Via Neovim, Fish, and Lein

A Colored Clojure Repl Via Neovim, Fish, and Lein

We'll start with the assumption that your cwd in vim is set to the directory of a clojure file perhaps via autochdir.

Now with some vimscript we'll start a terminal buffer, set the proper syntax coloring, turn on rainbow parens and only then run lein repl. Note it doesn't work if these aren't done before lein repl.

function! NvimRepl()
 terminal