Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用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:

Dependencies
You must have syntax highlighting installed for both
Markdown and
CoffeeScript installed to use
this package.
Installation
Manually
- Clone this repository.
git clone https://github.com/mintplant/vim-literate-coffeescript.git
- 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
- Install Pathogen
- Change directory to your bundle folder.
cd ~/.vim/bundle
- Clone this repository.
git clone https://github.com/mintplant/vim-literate-coffeescript.git
Updating
- Change directory to where the repository was cloned.
cd ~/.vim/bundle/vim-literate-coffeescript/
- Pull in the latest changes.
git pull