rust.vim


Ⅰ. 插件描述

Vim support for Rust file detection and syntax highlighting.

Ⅱ. 基本信息

创建日期:  2013-01-20
使用用户:  719
Github星:  292
插件作者:  William Ting

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# rust.vim

DEPRECATED

This work has been replaced by an official plugin: rust-lang/rust.vim

Historically this existed as a useful plugin for working with Rust and keeping
up with nightly build changes pre-1.0. Now that the language as relatively
stabilized since v1.0 there's less need for this plugin, especially considering
there's an official version now.

Description

This is a vim plugin provides Rust file detection and syntax highlighting.

It is synchronized daily to the vim support code in rust-lang/rust's
master branch via cronjob.

Installation

Using Vundle

  1. Add Plugin 'wting/rust.vim' to ~/.vimrc
  2. vim +PluginInstall +qall

Note: Vundle will not automatically detect Rust files properly if `filetype
on` is executed before Vundle. Please check the quickstart for more
details.

Using Pathogen

  1. cd ~/.vim/bundle
  2. git clone https://github.com/wting/rust.vim.git

添加新评论