From 1f90c4a4569379b5a490e35140694cbbe849d5ca Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 12 Jul 2018 15:45:53 +0200 Subject: Emacs: fix projectile project types after breaking change --- emacs/.emacs.d/main.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 2002aaa2..492b4178 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -557,8 +557,8 @@ (t (projectile-test-suffix project-type)))) (setq projectile-test-suffix-function #'ap/projectile-test-suffix) - (projectile-register-project-type 'node-yarn '("yarn.lock") "yarn start" "yarn test") - (projectile-register-project-type 'node '("package.json") "npm start" "npm test"))) + (projectile-register-project-type 'node-yarn '("yarn.lock") :run "yarn start" :test "yarn test") + (projectile-register-project-type 'node '("package.json") :run "npm start" :test "npm test"))) (use-package counsel-projectile :after (counsel projectile ivy-hydra) -- cgit 1.4.1