indent/java.vim


Ⅰ. 插件描述

Vim indent file for java source files. This indent file has been included in the official vim distribution since vim version 7.3.409

Ⅱ. 基本信息

创建日期:  2012-01-21
使用用户:  9
Github星:  3
插件作者:  Hong Xu

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Indent/java.vim

Build Status

This is the [Vim][] indent script for [Java][]. You could also find this script
at [Vim Online][].

This script has been included in the official Vim distribution since Vim
version 7.3.409.

To install, simply drop indent/java.vim to your Vim runtimepath, which is
usually ~/.vim in UNIX-like systems and $VIM_INSTALLATION_FOLDER\vimfiles
in Windows.

The tests are built upon [rspec][]. To run the test, first please have [Ruby][]
and [bundler][] installed. Then run bundle to install all the files needed
for testing. Finally run bundle exec rake to run the test.

添加新评论