vim-eslint


Ⅰ. 插件描述

**deprecated**

Ⅱ. 基本信息

创建日期:  2015-11-17
使用用户:  4
Github星:  7
插件作者:  Yulong Ruan

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ruanyl/vim-eslint-mine'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ruanyl/vim-eslint-mine'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ruanyl/vim-eslint-mine'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-eslint

This plugin is a simple wrap of eslint_d.js
eslint_d run an eslint server on the background, it reduces the linting time.

How to install

vim-plug

Add this if you are using vim-plug

Plug 'ruanyl/vim-eslint', {'do': 'npm install'}

or cd path/to/vim-eslint then run npm install

Then restart vim and run :PlugInstall.
To update the plugin to the latest version, you can run :PlugUpdate.

How to use

Basically no configuration needed, this plugin will set g:syntastic_javascript_eslint_exec for you,
please do not overwrite this variable

Make sure you have:

let g:syntastic_javascript_checkers = ['eslint']

this plugin improve the linting speed significantly for me. Thanks to eslint_d.js

添加新评论