Having a Parinfer implementation written in Vimscript allows Parinfer to reach vi-based editors easily.
Please note that this project is solely for the library that implements the core Parinfer algorithm; it is not a vi extension that can be used for editing.
This is basically a 1-to-1 port of parinfer.js.
This is my first Vimscript project. There is likely lots of room for improvement in this implementation. PR's welcome :)
TODO: write this section
# write the tests.vim file node build-tests-file.js # run tests in vim vim -S tests.vim
Run performance test:
vim -S perf.vim