summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-12-11 19:12:15 +0100
committerAlan Pearce2020-12-11 19:14:03 +0100
commitf6f048de6f3beafa96e3c17b73694896d1219c21 (patch)
tree1c5012b4c0027c6390ac51c8c947de1333ea43d6 /user
parentdbbc1ad5821628f8c5f9d08c78a06f2561332840 (diff)
downloadnixfiles-f6f048de6f3beafa96e3c17b73694896d1219c21.tar.lz
nixfiles-f6f048de6f3beafa96e3c17b73694896d1219c21.tar.zst
nixfiles-f6f048de6f3beafa96e3c17b73694896d1219c21.zip
Emacs: configure feature-mode
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 09d11ae1..7701d02c 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -870,6 +870,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
               :fringe-face 'flycheck-fringe-info
               :info-list-face 'flycheck-error-list-info)))
 
+(use-package feature-mode
+  :config (progn
+            (setq feature-cucumber-command "cucumber-js {options} \"{feature}\"")))
 
 (use-package treemacs
   :defer t
@@ -927,7 +930,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 (use-package add-node-modules-path
   :config (setq add-node-modules-max-depth 6)
-  :ghook ('(js2-mode-hook typescript-mode-hook) #'add-node-modules-path))
+  :ghook ('(feature-mode-hook js2-mode-hook typescript-mode-hook) #'add-node-modules-path))
 
 (use-package tide
   :after (typescript-mode company flycheck)