vim-literate-coffeescript


Ⅰ. 插件描述

Literate CoffeeScript syntax highlighting and indentation support for vim

Ⅱ. 基本信息

创建日期:  2013-02-26
使用用户:  66
Github星:  28
插件作者:  Michael Smith

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-literate-coffeescript adds syntax highlighting and indentation support for
Literate CoffeeScript to the vim text
editor.

It looks something like this:

Preview

Dependencies

You must have syntax highlighting installed for both
Markdown and
CoffeeScript installed to use
this package.

Installation

Manually

  1. Clone this repository.

    git clone https://github.com/mintplant/vim-literate-coffeescript.git

  2. Copy all the vim-specific files into your ~/.vim folder.

    cp -r vim-literate-coffeescript/ftdetect/ ~/.vim/
    cp -r vim-literate-coffeescript/indent/ ~/.vim/
    cp -r vim-literate-coffeescript/syntax/ ~/.vim/

With Pathogen

Setup

  1. Install Pathogen
  2. Change directory to your bundle folder.

    cd ~/.vim/bundle

  3. Clone this repository.

    git clone https://github.com/mintplant/vim-literate-coffeescript.git

Updating

  1. Change directory to where the repository was cloned.

    cd ~/.vim/bundle/vim-literate-coffeescript/

  2. Pull in the latest changes.

    git pull

License

MIT

添加新评论