From f6f048de6f3beafa96e3c17b73694896d1219c21 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 11 Dec 2020 19:12:15 +0100 Subject: Emacs: configure feature-mode --- user/emacs/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'user') 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) -- cgit 1.4.1