Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Parinfer in Vimscript Build Status

A Parinfer implementation in Vimscript.

About

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.

The .json files in the tests folder are copied directly from the main Parinfer repo.

This is my first Vimscript project. There is likely lots of room for improvement in this implementation. PR's welcome :)

Usage

TODO: write this section

Run Tests

Install node.js

# 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

License

ISC License

About

Parinfer in Vimscript

Resources

License

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.