parinfer-viml


Ⅰ. 插件描述

Parinfer in Vimscript

Ⅱ. 基本信息

创建日期:  2016-02-08
使用用户:  1
Github星:  46
插件作者:  Chris Oakman

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'oakmac/parinfer-viml'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'oakmac/parinfer-viml'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'oakmac/parinfer-viml'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/oakmac/parinfer-viml

Ⅳ. 文档说明

# 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]

添加新评论