From 7a7f3c1caab84d65b051b593a69b349ea4442a9b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 24 May 2013 10:52:24 +0100 Subject: Emacs: setup javascript indentation rules --- emacs/init.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index e9e3d38a..d17031b4 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -998,10 +998,8 @@ Works with: arglist-cont-nonempty, arglist-close." (auto-indent-mode -1)) (add-hook 'js3-mode-hook #'ap/javascript-setup) (setq js3-indent-level 4 - js3-expr-indent-offset 4 - js3-paren-indent-offset 4 - js3-square-indent-offset 4 - js3-curly-indent-offset 4))) + js3-indent-tabs-mode t + js3-global-externs '("$")))) (use-package mustache-mode :ensure t -- cgit 1.4.1