2010-02-24 23:57:39 -05:00
|
|
|
EXTRAS:
|
2010-02-24 19:57:29 -05:00
|
|
|
|
2010-02-24 23:57:39 -05:00
|
|
|
"extras/coffee-script.js" is a concatenated and compressed version of the
|
|
|
|
CoffeeScript compiler. To use it in the browser, include the script after any
|
|
|
|
inline script tags of type "text/coffeescript" on the page. It will compile
|
|
|
|
and evaluate all of the scripts in order.
|
2010-02-24 19:57:29 -05:00
|
|
|
|
|
|
|
|
2010-03-14 08:05:33 -07:00
|
|
|
This folder also includes a CoffeeScript syntax highlighter for Vim.
|
|
|
|
To install, copy "coffee.vim" into the "syntax" directory of
|
2010-01-25 22:22:39 -05:00
|
|
|
your vim72, and enable it in either of the following two ways:
|
|
|
|
|
|
|
|
* Manually, by running `:set syntax=coffee`
|
|
|
|
|
|
|
|
* Or automatically, by creating a "filetype.vim" file within "~/.vim", which
|
|
|
|
contains something along these lines:
|
|
|
|
|
|
|
|
if exists("did_load_filetypes")
|
|
|
|
finish
|
|
|
|
end
|
|
|
|
augroup filetypedetect
|
|
|
|
au! BufRead,BufNewFile *.coffee setfiletype coffee
|
|
|
|
augroup END
|