Ⅰ. 插件描述
A TextMate Bundle for CoffeeScriptⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jashkenas/coffee-script-tmbundle'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jashkenas/coffee-script-tmbundle'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jashkenas/coffee-script-tmbundle'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jashkenas/coffee-script-tmbundle
Ⅳ. 文档说明
CoffeeScript.tmbundle
A TextMate Bundle for the CoffeeScript programming language.
Installation:
cd ~/Library/Application\ Support/TextMate/Bundles (Textmate 1)
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles (Textmate 1.5.10 & 2)
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScriptBundle.tmbundle
The bundle includes syntax highlighting, the ability to compile or evaluate CoffeeScript inline, convenient symbol listing for functions, and a number of expando snippets.
Patches for additions are always welcome.

If your TextMate.app is having trouble finding the coffee command, remember that TextMate doesn't inherit your regular PATH.
Sublime Text 2:
This bundle is compatible with Sublime Text 2, and can be installed for
that editor using:
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript