Fork me on GitHub
#parinfer
<
2017-07-24
>
shaunlebron04:07:21

the engelbergs reported some problems with the demo editor, so I’m starting over on the CodeMirror+Parinfer integration, to free it from all the hacks I put in when I was rushing the website

shaunlebron04:07:26

not done yet, but the demo editor will use it as soon as I finish it: https://github.com/shaunlebron/parinfer-codemirror

cfleming07:07:46

@shaunlebron Do you think their problems were a result of the integration rather than the basic algorithm?

cfleming10:07:00

Actually, NM, just saw your tweet - looks like yes, which is good!

cfleming10:07:31

I have to work on my next release, but I’ll be back on this soon. I’m keen to test this out when it makes it into Atom, too.

chrisoakman13:07:10

I made some progress on the atom plugin last night.

tianshu14:07:53

is it a expected behavior?

shaunlebron14:07:27

are you expecting prod to be moved into the map with :keys?

shaunlebron14:07:19

the gif represents my expected behavior

tianshu14:07:07

will it re-indent when the file open?

tianshu14:07:35

I don't think prod should move into map.

shaunlebron14:07:17

paren mode will not fix indentation of prod

tianshu14:07:34

sorry, I missed there's a (+ a b) follow the map

tianshu14:07:54

this is the correct behavior, absolutely:+1:

tianshu14:07:22

I like this parinfer v3

shaunlebron14:07:56

np, you can tell more easily next time by seeing that } was not dimmed, thus will not move around

shaunlebron14:07:16

not sure if that helps in that case actually

tianshu14:07:33

what's the editor used for demonstration parinfer? code-mirror?

shaunlebron14:07:53

yeah, codemirror

shaunlebron14:07:37

trying to fix some of the weirdness, and add tabStop support to it