Fork me on GitHub

Looking att Nova this morning (out of curiosity, obviously a no-go for Clojure atm). What hooks does Parinfer need to do its magic? Currently reading the extensions API:


@henrik I've implemented a bunch of parinfer tools. I found out that using the "parinfer-rust" implementation is easier than others. The code for Atom is here: Is quite simple, really

👏 3

You'll just have to listen to changes on the text editor, invoke the parinfer command, then replace the results. The parameters for parinfer-rust are these:


(also, you'll send the current text on the editor as the first parameter)