... the first "ready for public consumption" release.  One of the the
initial reactions was, "This. Is. Awesome!"  Just sayin'.parinfer-rust

https://github.com/eraserhd/parinfer-rust

A full-featured, super snappy port of Shaun Lebron's parinfer
<https://shaunlebron.github.io/parinfer/> to Rust. This repo comes with Vim
plugin files that work with Vim8 and Neovim. The Rust library can be called
from other editors that can load dynamic libraries.

This plugin, unlike others available for Vim, implements "smart" mode.
Rather than switching between "paren" mode and "indent" mode, parinfer uses
information about how the user is changing the file to decide what to do.
<https://github.com/eraserhd/parinfer-rust#installing>Installing

You need to have rust installed
<https://www.rust-lang.org/en-US/install.html>.

If you are using Tim Pope's pathogen:

$ cd ~/.vim/bundle
$ git clone g...@github.com:eraserhd/parinfer-rust
$ cd ~/.vim/bundle/parinfer-rust/cparinfer
$ cargo build --release

If you are using vim-plug:

Plug 'eraserhd/parinfer-rust'

Then, build project using cargo:

$ cd /path/to/parinfer-rust/cparinfer
$ cargo build --release

Or, with optional automatic recompilation on update:

Plug 'eraserhd/parinfer-rust', {'do':
        \  'cargo build --manifest-path=cparinfer/Cargo.toml --release'}

<https://github.com/eraserhd/parinfer-rust#tests>Tests

You can run tests like so:

$ vim --clean -u tests/run.vim

Tests are in a nice, readable format in tests/test_*.vim. Please add tests
for any new features (or even old ones!). You can set the VIM_TO_TEST
environment
variable to Vim's path to test weird or different builds.
<https://github.com/eraserhd/parinfer-rust#contributors>Contributors

This wouldn't be possible without the work of others:

   - Shaun Lebron - Inventing parinfer and doing the math.
   - Case Nelson - Writing the nvim-parinfer, from which VimL code and some
   inspiration was stolen.

<https://github.com/eraserhd/parinfer-rust#license>License

ISC License
<https://github.com/eraserhd/parinfer-rust/blob/master/LICENSE.md>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to