all repos — nixfiles @ fbe2e13d374fcfddd234c5e107e34270976235ef

System and user configuration, managed by nix and home-manager

Emacs: enable npm-based tools in json files

Alan Pearce
commit

fbe2e13d374fcfddd234c5e107e34270976235ef

parent

700e4f1e6585caef9be5a1373cb011e70fa113f9

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -936,7 +936,7 @@ ;; the project. This will allows emacs to find their executables.
(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)