Ⅰ. 插件描述
Let's simplify the way we write LispⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'shaunlebron/parinfer'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'shaunlebron/parinfer'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'shaunlebron/parinfer'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/shaunlebron/parinfer
Ⅳ. 文档说明
# Parinfer
parentheses inference for Lisp

See the [Parinfer Home Page] for a complete exploration.
Parinfer is a proof-of-concept editor mode for Lisp programming languages.
It simplifies the way we write Lisp by auto-adjusting parens when indentation
changes and vice versa. The hope is to make basic Lisp-editing easier for
newcomers and experts alike, while still allowing existing plugins like Paredit
to satisfy the need for more advanced operations.
This project is split into two parts:
- Parinfer Lib - the editor-agnostic library
- Parinfer Site - the code for the website
How to Use It!
See the [Parinfer Demo Editor] to try the latest version online.
Parinfer is still in early development. Several people have started
integrating it into code editors at various stages of development.
- [atom-parinfer] for [Atom]
- [parinfer-rust] for [Vim] and [Neovim]
- [nvim-parinfer.js] for [Neovim]
- [vim-parinfer] for [Vim]
- [vscode-parinfer] for [Visual Studio Code]
- [sublime-text-parinfer] for [Sublime Text]
- [parinfer-mode] for [Emacs]
- [Parinfer layer] for [Spacemacs] - in progress
- [parinfer-codemirror] for [CodeMirror] - used on Parinfer's homepage
- [lt_parinfer] for [Light Table]
- native support in [Nightcode]
Parinfer will soon be available for some REPL environments as well:
- [Replete] for iOS
- [Dirac DevTools] for Google Chrome
- [Reepl] for the browser
[Let me know] if you're working on a plugin, or check the [lib readme] for extra guidance. Thanks!