coffee-mode

Emacs Major Mode for CoffeeScript

6 years after

CoffeeScript Major Mode

Fork of https://github.com/defunkt/coffee-mode which is focused on improving the syntax highlighting. For more information see the original fork. The improvments include:

  1. : (colon) is no longer used to assign values. Updated syntax to use =
  2. Support for multi-line comment (start: ### end ###) and single line comments (#). However, the first char of a single line comment has to be space. If you can fix this be my quest.

Installation

In your shell:

$ cd ~/.emacs.d/vendor
$ git clone git://github.com/defunkt/coffee-mode.git

In your emacs config:

(add-to-list 'load-path "~/.emacs.d/vendor/coffee-mode")
(require 'coffee-mode)

If coffee-mode is not enabled automatically for any files ending in ".coffee" or named "Cakefile", add this to your emacs config as well:

(add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
(add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode))

Top Contributors

defunkt mads-hartmann sstephenson mkhl orlandohill tav typester josh superbobry

Releases

-   v0.3.0 zip tar
-   v0.2.0 zip tar
-   v0.1.0 zip tar