forked from colonelpanic/dotfiles
js2-mode stuff from ryan rix.
This commit is contained in:
parent
79863e2628
commit
483882ff66
@ -1587,6 +1587,11 @@ window is active in the perspective."
|
|||||||
(use-package skewer-mode
|
(use-package skewer-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands skewer-mode)
|
:commands skewer-mode)
|
||||||
|
(setq js2-highlight-level 3
|
||||||
|
js2-include-node-externs t
|
||||||
|
js2-mode-show-parse-errors nil
|
||||||
|
js2-mode-show-strict-warnings nil
|
||||||
|
jshint-configuration-path "~/Uber/dispatch")
|
||||||
(add-hook 'js-mode-hook 'js2-minor-mode)
|
(add-hook 'js-mode-hook 'js2-minor-mode)
|
||||||
(add-hook 'js2-mode-hook (lambda () (tern-mode t)))
|
(add-hook 'js2-mode-hook (lambda () (tern-mode t)))
|
||||||
(add-hook 'js2-mode-hook 'skewer-mode)
|
(add-hook 'js2-mode-hook 'skewer-mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user