From 7fa88df55a147c6283ba336b3d45a5fdd3d55801 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 18 Aug 2015 16:28:03 +0200 Subject: Emacs: Fix smart-tabs in js2-mode --- tag-emacs/emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index d31eca59..75c642d4 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -609,6 +609,7 @@ with spaces. Perfect! smart-tabs-mode-enable smart-tabs-advice) :config (progn + (smart-tabs-advice js2-indent-line js2-indent-offset) (smart-tabs-insinuate 'c 'javascript 'cperl 'python)) :init (progn (add-hook 'php-mode-hook (lambda () -- cgit 1.4.1