From c43570eb0092bf3d0a75c0f86f7cc19864f2ba3c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 15 Jun 2015 05:06:59 -0700 Subject: [PATCH] no tabs in js. --- dotfiles/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index a9c66f27..b3d7e06b 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1574,6 +1574,7 @@ window is active in the perspective." (setq js2-basic-offset 4) (setq js2-indent-level 4) (setq js2-basic-offset 4) + (setq indent-tabs-mode nil) (use-package skewer-mode :ensure t :commands skewer-mode) @@ -1581,6 +1582,7 @@ window is active in the perspective." (add-hook 'js2-mode-hook (lambda () (tern-mode t))) (add-hook 'js2-mode-hook 'skewer-mode) (add-hook 'js2-mode-hook (lambda () (setq js-indent-level 4) + (setq indent-tabs-mode nil) (setq js2-indent-level 4) (setq js2-basic-offset 4))) (use-package tern