Skip to content

Commit

Permalink
Add js2 mode. Need to byte compile js2 via emacs -q --batch --eval '(…
Browse files Browse the repository at this point in the history
…byte-compile-file "js2.el")'
  • Loading branch information
aisipos committed Sep 22, 2010
1 parent 273c8c4 commit 5edf8b8
Show file tree
Hide file tree
Showing 3 changed files with 11,930 additions and 2 deletions.
3 changes: 3 additions & 0 deletions customizations/modes.el
Expand Up @@ -68,3 +68,6 @@
;;cnf files (like my.cnf) should use conf-mode
(add-to-list 'auto-mode-alist '("\\.cnf\\'" . conf-mode))

;;js2 mode
(autoload 'js2-mode "js2" nil t)
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
2 changes: 0 additions & 2 deletions init.el
Expand Up @@ -56,8 +56,6 @@
;; (vendor 'mo-git-blame)
(vendor 'smart-tab)
(vendor 'markdown-mode)
; load third-party modes that the vendor function can't handle
;;(add-to-list 'load-path "~/.emacs.d/vendor/js2")

; Use emacs starter kit customization as a base
; starter kit init.el defines dotfiles-dir
Expand Down

0 comments on commit 5edf8b8

Please sign in to comment.