Fork me on GitHub
#parinfer
<
2016-05-02
>
sekao20:05:14

i wrote a little library that uses reader conditionals to provide a common wrapper around parinfer.js and parinfer-jvm. that isn’t inherently all that useful, but it also provides a very long and ugly function i wrote to fix indentation after running indent mode, in case it helps anyone: https://github.com/oakes/cross-parinfer

shaunlebron21:05:34

i’m not sure about the state of cljsjs.parinfer, which I see you’re using

shaunlebron21:05:59

i haven’t been updating it because it doesn’t work on Node I believe

shaunlebron21:05:42

how is the perf of the add-indent function?

shaunlebron21:05:35

(i’ve been pausing work on parinfer to focus on #C13B4NQDP and #C13GGUX45)

shaunlebron21:05:56

and a little bit of #C13PVDWLF

sekao21:05:56

@shaunlebron I submitted an update to cljsjs.parinfer this morning so it's using 1.8.1. I forgot to update the comment in the externs file though, not sure if that matters

sekao21:05:35

The perf is probably not great but it's not a bottleneck for me. paren-soup is slow as a dog right now but that's because it's processing and replacing the full text on every keystroke, gotta figure out how to avoid doing that