Skip to content

Commit

Permalink
Add coffee-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Mar 15, 2011
1 parent 8075533 commit 504f7df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions init-el-get.el
Expand Up @@ -121,6 +121,7 @@
;; Javascript

js2-mode
coffee-mode
js-comint
(:name moz :type http :url "http://github.com/bard/mozrepl/raw/master/chrome/content/moz.el")
json
Expand Down
3 changes: 3 additions & 0 deletions init-javascript.el
Expand Up @@ -63,6 +63,9 @@
(dolist (mode (list 'html-mode 'nxml-mode))
(mmm-add-mode-ext-class mode "\\.r?html\\(\\.erb\\)?$" 'html-js))))

(eval-after-load "coffee-mode"
`(setq coffee-js-mode preferred-javascript-mode
coffee-tab-width preferred-javascript-indent-level))

(require 'js-comint)
(setq inferior-js-program-command "js")
Expand Down

0 comments on commit 504f7df

Please sign in to comment.