mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-13 15:50:50 -05:00
Minor changes to js2-mode
This commit is contained in:
parent
db8b9b08a6
commit
ab413f9252
1 changed files with 2 additions and 2 deletions
|
@ -330,9 +330,9 @@
|
||||||
|
|
||||||
(use-package js2-mode
|
(use-package js2-mode
|
||||||
:config
|
: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)
|
(setq js2-mode-show-strict-warnings nil)
|
||||||
:hook (js-mode . js2-minor-mode))
|
:hook ('js-mode-hook 'js2-minor-mode))
|
||||||
|
|
||||||
;; LaTeX
|
;; LaTeX
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue