Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added support for coffee-mode.

  • Loading branch information...
commit 5e330d92f57c27b484058ea116e8cc740dbb578c 1 parent 345a1f5
@candera authored
Showing with 19 additions and 0 deletions.
  1. +3 −0  .gitmodules
  2. +1 −0  coffee-mode
  3. +15 −0 init.el
View
3  .gitmodules
@@ -22,3 +22,6 @@
[submodule "swank-clojure"]
path = swank-clojure
url = https://github.com/technomancy/swank-clojure.git
+[submodule "coffee-mode"]
+ path = coffee-mode
+ url = git://github.com/defunkt/coffee-mode.git
1  coffee-mode
@@ -0,0 +1 @@
+Subproject commit 74a91351d1f4f68526bfdb40fb0f34d4fd12e7bf
View
15 init.el
@@ -722,6 +722,21 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
+;; Set up coffee-mode
+;;
+;; http://ozmm.org/posts/coffee_mode.html
+;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(add-to-list 'load-path "~/.emacs.d/custom/coffee-mode")
+(require 'coffee-mode)
+
+;; Uncomment if necessary
+;; (add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
+;; (add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;
;; Change zap-to-char not to kill the char
;; it zaps to. Taken from
;; http://www.emacswiki.org/emacs/ZapUpToChar

0 comments on commit 5e330d9

Please sign in to comment.
Something went wrong with that request. Please try again.