13 lines
254 B
EmacsLisp
13 lines
254 B
EmacsLisp
(require 'js2-mode)
|
|
|
|
(setq js2-strict-trailing-comma-warning nil)
|
|
|
|
(add-hook 'js2-mode-hook 'subword-mode)
|
|
|
|
(add-hook 'js2-mode-hook 'flycheck-mode)
|
|
|
|
(setq js2-basic-offset 2)
|
|
|
|
(add-hook 'js2-mode-hook 'company-mode)
|
|
|
|
(add-hook 'js2-mode-hook 'fci-mode)
|