diff options
author | Alan Pearce | 2013-05-24 10:52:24 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-24 10:52:24 +0100 |
commit | 7a7f3c1caab84d65b051b593a69b349ea4442a9b (patch) | |
tree | 72c149020b65b3d63ddf4bf2b2f8317713aa2369 /emacs | |
parent | 7d03c01ed268d7dccd5dc74fa62ab44cb74b133d (diff) | |
download | dotfiles-7a7f3c1caab84d65b051b593a69b349ea4442a9b.tar.lz dotfiles-7a7f3c1caab84d65b051b593a69b349ea4442a9b.tar.zst dotfiles-7a7f3c1caab84d65b051b593a69b349ea4442a9b.zip |
Emacs: setup javascript indentation rules
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el index e9e3d38..d17031b 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 |