parinfer

shaunlebron 2017-07-24T04:39:21.654963Z

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

shaunlebron 2017-07-24T04:40:26.664245Z

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

cfleming 2017-07-24T07:37:46.742356Z

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

cfleming 2017-07-24T10:53:00.774002Z

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

cfleming 2017-07-24T10:53:31.783587Z

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.

chrisoakman 2017-07-24T13:51:10.910850Z

I made some progress on the atom plugin last night.

👍 3
❤️ 3
tianshu 2017-07-24T14:32:53.432877Z

is it a expected behavior?

shaunlebron 2017-07-24T14:34:27.491165Z

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

shaunlebron 2017-07-24T14:35:19.523505Z

the gif represents my expected behavior

tianshu 2017-07-24T14:39:07.666119Z

will it re-indent when the file open?

tianshu 2017-07-24T14:39:35.683036Z

I don't think prod should move into map.

shaunlebron 2017-07-24T14:40:17.709911Z

paren mode will not fix indentation of prod

shaunlebron 2017-07-24T14:40:21.712927Z

should it?

tianshu 2017-07-24T14:42:34.797883Z

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

tianshu 2017-07-24T14:42:54.810685Z

this is the correct behavior, absolutely:+1:

tianshu 2017-07-24T14:43:22.827948Z

I like this parinfer v3

shaunlebron 2017-07-24T14:44:56.888621Z

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

shaunlebron 2017-07-24T14:45:16.901733Z

not sure if that helps in that case actually

shaunlebron 2017-07-24T14:45:39.916511Z

thanks!

tianshu 2017-07-24T14:57:33.377236Z

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

shaunlebron 2017-07-24T14:57:53.390571Z

yeah, codemirror

shaunlebron 2017-07-24T14:58:37.418741Z

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

shaunlebron 2017-07-24T17:15:05.318008Z

https://twitter.com/shaunlebron/status/889534280887672834