vim-literate-coffeescript


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2013-02-26
使用用户:  11
Github星:  0
插件作者:  Vitaly Kushner

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

NOTE: this repository was originally hosted at
https://github.com/mintplant/vim-literate-coffeescript but was removed at
some point. I'm not a maintainer, just providing a copy for the sake of
inclusion in my own https://github.com/astrails/dotvim

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

添加新评论