summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
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)