Fork me on GitHub
#parinfer
<
2016-09-23
>
shaunlebron15:09:00

@doglooksgood: sorry for late reply, I’ll turn on notifications in this channel

shaunlebron15:09:28

he uses only the current top level s-exp

tianshu18:09:39

@shaunlebron I've already solved this problem, the performance is ok. I think this plugin is pretty usable and I'm working on deloy it to melpa.

dominicm18:09:18

I think the vim one does the whole file, with no noticeable performance issues

tianshu18:09:17

If I use whole buffer, process text more than 500 lines, then I can feel the delay.

tianshu18:09:52

Now I use current top level + previous top level.

shaunlebron18:09:27

the vim plugin (not nvim) only runs parinfer after you leave insert mode

shaunlebron18:09:58

last i checked anyway

tianshu18:09:47

I found the aggressive-indent in emacs, actually do the same thing with parinfer paren mode.

tianshu18:09:51

The aggressive can also keep indentation when edit code like this

(print|    hello
           world)
I think this is handy.

shaunlebron19:09:21

@doglooksgood: yeah, I’ll take a PR for the readme and the site (I list editor plugins in both places)