Fork me on GitHub
#parinfer
<
2018-03-21
>
dominicm14:03:57

@eraserhd https://github.com/neovim/neovim/pull/5269 might be useful, not sure. Seems async-focused.

eraserhd14:03:10

I'm using plain Vim, but you are welcome to make PRs to special-case Neovim stuff. Today's project is adding tests that can be run under both and Travis CI.

shaunlebron14:03:21

@eraserhd are you passing in changes?

eraserhd14:03:24

Yes. I have to compute them, and on occasion they are wrong, but they are right enough to make smart mode work nicely. 😄

dominicm14:03:00

I've been using it today, I'm not writing much code, but it's working. I see abandoned comments a lot though 😛

dominicm14:03:10

that's somewhat particular to the files I'm working on.

eraserhd15:03:47

vim+parinfer thoughts today: Nice!: I can i#?(:clj <Esc?, and since the paren fix gets merged with the change, I can repeat it with . for other pieces of code.

eraserhd15:03:32

Other thought: I want J (join lines) and maybe p (paste) to fix indentation.

eraserhd15:03:50

e.g.: J on line 1 of

#?(:clj
    (extend-type datomic.db.DbId ToTx
      (->tx [this]
        [this])))
becomes
#?(:clj (extend-type datomic.db.DbId ToTx
          (->tx [this]
            [this])))

eraserhd17:03:41

So, I've been dogfooding a change pretty hard since yesterday, and I can confirm that random crashes on Mac OS are no longer a thing for parinfer-rust. Just pushed the commit, so update if you haven't already. Also, I think there are people who tried it before the major performance improvement was pushed.