Permalink
Browse files

js2: default to 2-space indents

  • Loading branch information...
1 parent 271b356 commit 88ae457f1291e644a0792d57569e2e2c339b426f @nelhage committed Mar 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 dot-emacs
View
@@ -736,6 +736,7 @@ unable to perform symbol completion.")
js2-allow-keywords-as-property-names t
js2-mode-show-strict-warnings nil
js2-bounce-indent-p t)
+(setq-default js2-basic-offset 2)
(defadvice js2-enter-key (after js2-enter-key-indent)
(let ((js2-bounce-indent-flag nil))

0 comments on commit 88ae457

Please sign in to comment.