summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-07-12 15:45:53 +0200
committerAlan Pearce2018-07-12 15:45:53 +0200
commit1f90c4a4569379b5a490e35140694cbbe849d5ca (patch)
tree6cda82ce246a75b751892c261b6e2728f888899a /emacs
parent5bf3f7b115fe8ef3e5ea13e45e08d15553e2f2ba (diff)
downloadnixfiles-1f90c4a4569379b5a490e35140694cbbe849d5ca.tar.lz
nixfiles-1f90c4a4569379b5a490e35140694cbbe849d5ca.tar.zst
nixfiles-1f90c4a4569379b5a490e35140694cbbe849d5ca.zip
Emacs: fix projectile project types after breaking change
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 2 insertions, 2 deletions
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)