ClojureScript + VIM – development setup
Notes about setting up a ClojureScript dev environment with vim.
(switched to spacemacs in 2022 though)
Survey of tools
Build tools:
- shadow-cljs – simple / ease of use, – I'll start out with this one
- leiningen – main clojure build tool, – I guess this is the best one to learn in the long run
- boot – leiningen alternative, mostly developed in 2014/2015/2016 – leiningen/shadow-cljs looks like better bets
VIM integration:
- https://github.com/kovisoft/paredit
- https://github.com/kovisoft/slimv
- https://github.com/jgdavey/tslime.vim
- https://github.com/tpope/vim-fireplace
Experiments
- start shadow-cljs project – follow https://shadow-cljs.github.io/docs/UsersGuide.html
- see if fireplace is easy to get working https://shadow-cljs.github.io/docs/UsersGuide.html#_fireplace_vim_vim_neovim
- SUCCESS! NB: remember
:Connect 3333
and:CljEval (shadow/repl :build-id)
Simple scaffolding heavy app npx create-cljs-app my-app