Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add js2-mode

  • Loading branch information...
commit f87fa96314dee0ac18111ffe84f7e2e88a252da7 1 parent e77e5b8
@zonpantli authored
1  .emacs.d/mepihlaj/js2-mode
@@ -0,0 +1 @@
+Subproject commit 93480bf9fe6cd4ab2983854b448dafc1a1034eb3
View
4 .emacs.d/mepihlaj/mepihlaj.el
@@ -169,6 +169,10 @@
(setq css-indent-level 2)
(setq css-indent-offset 2)
+;;== js2-mode ===================================================
+(autoload 'js2-mode "js2-mode/js2-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
+
;;== org-mode setup =============================================
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
View
3  .gitmodules
@@ -13,3 +13,6 @@
[submodule ".emacs.d/mepihlaj/io-emacs"]
path = .emacs.d/mepihlaj/io-emacs
url = https://github.com/slackorama/io-emacs.git
+[submodule ".emacs.d/mepihlaj/js2-mode"]
+ path = .emacs.d/mepihlaj/js2-mode
+ url = git://github.com/mooz/js2-mode.git
Please sign in to comment.
Something went wrong with that request. Please try again.