Wilfred / deadgrep

fast, friendly searching with ripgrep and Emacs
713 stars 46 forks source link

Support for --multiline #70

Open wpcarro opened 4 years ago

wpcarro commented 4 years ago

Does deadgrep support the multiline option? If not, any ideas for a workaround?

Something like this might be nice:

(defcustom deadgrep-additional-flags
  '("--multiline")
  "List of additional arguments that will be passed to rg.")

(add-to-list deadgrep-additional-flags "--another-flag")
wpcarro commented 4 years ago

Support something like deadgrep-additional-flags might also help support ideas like #24

ibrahima commented 3 weeks ago

Hm so as of https://github.com/Wilfred/deadgrep/pull/138 you can at least achieve this by adding --multiline to the extra arguments. It'd be really nice if it was just a configuration option in the UI though. I do like how the UI surfaces common options easily.