From fbe2e13d374fcfddd234c5e107e34270976235ef Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 22 Mar 2021 12:06:08 +0100 Subject: Emacs: enable npm-based tools in json files --- user/emacs/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 331a4aa4..21b82342 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -936,7 +936,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package add-node-modules-path :config (setq add-node-modules-max-depth 6) - :ghook ('(feature-mode-hook js2-mode-hook typescript-mode-hook) #'add-node-modules-path)) + :ghook ('(feature-mode-hook js2-mode-hook json-mode-hook typescript-mode-hook) #'add-node-modules-path)) (use-package tide :after (typescript-mode company flycheck) -- cgit 1.4.1