diff options
author | Alan Pearce | 2015-08-18 16:28:03 +0200 |
---|---|---|
committer | Alan Pearce | 2015-08-18 16:28:03 +0200 |
commit | 7fa88df55a147c6283ba336b3d45a5fdd3d55801 (patch) | |
tree | a481551b1c31b0ac110ff20e33c93aaafd7607ed /tag-emacs/emacs.d | |
parent | 9642a038b4c08f953913521f87b8a7d97fd320f7 (diff) | |
download | nixfiles-7fa88df55a147c6283ba336b3d45a5fdd3d55801.tar.lz nixfiles-7fa88df55a147c6283ba336b3d45a5fdd3d55801.tar.zst nixfiles-7fa88df55a147c6283ba336b3d45a5fdd3d55801.zip |
Emacs: Fix smart-tabs in js2-mode
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 1 |
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 () |