Ⅰ. 插件描述
Literate CoffeeScript syntax highlighting and indentation support for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用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:

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