vim-kibit


Ⅰ. 插件描述

A Vim plugin for Clojure's Kibit static code analyzer

Ⅱ. 基本信息

创建日期:  2018-02-16
使用用户:  1
Github星:  7
插件作者:  Laurence Chen

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-kibit

kibit is a static code analyzer for Clojure, ClojureScript, cljx and other Clojure variants.

Usage

vim-kibit allows you to analyze the current opened file by running:

:Kibit

Installation

Requirements

You'll want to have kibit and vim-fireplace installed, and you'll need to make sure Kibit is somewhere on your project's classpath. I'd recommend adding the following to your ~/.lein/profiles.clj:

{:dependencies [[jonase/kibit "0.1.5" :exclusions [org.clojure/clojure]]]}

You'll also need to have a REPL connection open through fireplace.

After that, the rest should take care of itself.

Installing with Pathogen

Assuming you already have Pathogen installed, you should be good to go with the following:

cd ~/.vim/bundle && \
git clone https://github.com/humorless/vim-kibit.git

License

Copyright © 2018 Laurence Chen

Distributed under the Eclipse Public License, the same as Clojure.

添加新评论