Fork me on GitHub
#parinfer
<
2015-12-11
>
shaunlebron20:12:36

@snoe @bhurlow, I suppose the only difference between the nvim and vim implementations is the placement of logic in js vs viml

shaunlebron21:12:22

but it seems like both can interface with Node well

shaunlebron21:12:39

and snoe has done great work with the diff part

shaunlebron21:12:24

I wonder if the projects could be merged somehow. I didn’t think something like this could be done in vim classic

bhurlow21:12:18

@shaunlebron @snoe’s approach is definitely a much richer implementation than mine. I’m not really using nvim as my standard editor and for some reason the nvim node-host seems incomplete to me. In general I like the idea of offloading as much logic as possible to the parinfer lib as viml can be rocky at times and js editors are probably the future

bhurlow21:12:20

That being said, the basic rpc approach that I’m working on in vim-parinfer is working really nicely as a general tool. I don’t even really need paredit or vim-sexp anymore

bhurlow21:12:08

I’ll take another look at @snoe’s lib and see if perhaps they could be adapted together or something

bhurlow21:12:37

just can’t kick the vim habit

bhurlow21:12:12

I became interested in trying this after seeing: https://github.com/edpaget/parinfer-mode

shaunlebron21:12:19

snoe has more logic in cljs and is doing some diffing logic in it in order to pass the correct information to the parinfer lib

shaunlebron21:12:37

but you’re both offloading to the parinfer lib in the same way

shaunlebron21:12:44

i do like that snoe’s implementation is in cljs, and i like that bhurlow’s plugin works without requiring nvim

snoe21:12:53

@bhurlow you are very correct about the limitations of node-host, I've been pushing more and more into viml lately.

shaunlebron21:12:55

but yes, I can’t kick the vim habit either..

bhurlow21:12:22

I would use Atom if it could run in a terminal

snoe21:12:20

as far as neovim vs vim though, I haven't noticed anything missing from neovim, it's quite stable and the switch was kind of seamless.

bhurlow21:12:40

@snoe: ok thats good to hear actually

bhurlow22:12:00

all regular vim scripts should work seamlessly with nvim yea?

snoe22:12:19

yeah my 12+ plugins all worked

shaunlebron22:12:20

I’m used to my macvim window

shaunlebron22:12:36

never figured out how to get neovim to work with that

shaunlebron23:12:56

@hmadelaine: nice! sorry I missed this yesterday

shaunlebron23:12:00

adding this to the website now