Emacs: setup javascript indentation rules
Alan Pearce alan@alanpearce.co.uk
Fri, 24 May 2013 10:52:24 +0100
1 files changed, 2 insertions(+), 4 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -998,10 +998,8 @@ (autopair-mode -1) (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