From 483882ff66acec7e53fab7225c220610418d9be4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 21 Jun 2015 13:47:26 -0700 Subject: [PATCH] js2-mode stuff from ryan rix. --- dotfiles/emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 136251c8..af510e5d 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1587,6 +1587,11 @@ window is active in the perspective." (use-package skewer-mode :ensure t :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 'js2-mode-hook (lambda () (tern-mode t))) (add-hook 'js2-mode-hook 'skewer-mode)