Skip to content

Commit

Permalink
Add coffee-mode to cjsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sayem committed Jul 23, 2015
1 parent 6f91e76 commit 7210fe6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .emacs
Expand Up @@ -172,7 +172,8 @@
(add-to-list 'auto-mode-alist '("\\.handlebars\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.eco\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.ejs\\'" . web-mode))

(add-to-list 'auto-mode-alist '("\\.jsx\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.cjsx\\'" . web-mode))

(add-to-list 'load-path "~/elisp/jade-mode")
(require 'sws-mode)
Expand Down Expand Up @@ -200,6 +201,8 @@
(add-to-list 'load-path "~/elisp/coffee-mode.el")
(require 'coffee-mode)

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

(setq js-indent-level 2)

;; ------------------------------------------------------------------
Expand Down

0 comments on commit 7210fe6

Please sign in to comment.