Minor changes to js2-mode

This commit is contained in:
Andrew Scott 2022-03-25 23:37:52 -04:00
parent db8b9b08a6
commit ab413f9252
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -330,9 +330,9 @@
(use-package js2-mode
:config
(add-to-list 'magic-mode-alist '("#!/usr/bin/env node" . js2-mode))
(add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
(setq js2-mode-show-strict-warnings nil)
:hook (js-mode . js2-minor-mode))
:hook ('js-mode-hook 'js2-minor-mode))
;; LaTeX