summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-08-18 16:28:03 +0200
committerAlan Pearce2015-08-18 16:28:03 +0200
commit7fa88df55a147c6283ba336b3d45a5fdd3d55801 (patch)
treea481551b1c31b0ac110ff20e33c93aaafd7607ed /tag-emacs
parent9642a038b4c08f953913521f87b8a7d97fd320f7 (diff)
downloadnixfiles-7fa88df55a147c6283ba336b3d45a5fdd3d55801.tar.lz
nixfiles-7fa88df55a147c6283ba336b3d45a5fdd3d55801.tar.zst
nixfiles-7fa88df55a147c6283ba336b3d45a5fdd3d55801.zip
Emacs: Fix smart-tabs in js2-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
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 ()