all repos — nixfiles @ 7fa88df55a147c6283ba336b3d45a5fdd3d55801

System and user configuration, managed by nix and home-manager

Emacs: Fix smart-tabs in js2-mode

Alan Pearce
commit

7fa88df55a147c6283ba336b3d45a5fdd3d55801

parent

9642a038b4c08f953913521f87b8a7d97fd320f7

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -609,6 +609,7 @@ :commands (smart-tabs-mode
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 ()