Files
.emacs.d/mode-customizations/js-mode.el

10 lines
289 B
EmacsLisp

(add-hook 'js-mode-hook
(lambda ()
(setq js-indent-level 2)
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(setq tab-width 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-mode)))