javascriptlint.vim


Ⅰ. 插件描述

javascriptLint.vim allows the JavaScript Lint (jsl) program from http://www.javascriptlint.com to be tightly integrated with Vim. The contents of a javascript file will be passed through the jsl program. Any lint warnings will be placed in the quickfix error window when run

Ⅱ. 基本信息

创建日期:  2009-12-28
使用用户:  3
Github星:  3
插件作者:  Nathan L Smith

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

javaScriptLint.vim

This is a port of the javaScriptLint.vim plugin. Instead of running automatically when saving, it is run by calling the JavaScriptLint command.

JavaScript Lint must be installed and the jsl command must be in your path.

添加新评论