hyperlinked_grep: Ensure filename is always printed

Fixes hyperlinks not working when a single file is searched
This commit is contained in:
Kovid Goyal
2020-09-23 19:11:09 +05:30
parent d09666aba9
commit 8bea61cb99
2 changed files with 7 additions and 1 deletions

View File

@@ -53,3 +53,9 @@ actions, :doc:`see here <../open_actions>`.
Hopefully, someday this functionality will make it into some `upstream grep
<https://github.com/BurntSushi/ripgrep/issues/665>`_
program directly removing the need for this kitten.
.. note::
While you can pass any of ripgrep's comand line options to the kitten and
they will be forwarded to rg, do not use options that change the output
formatting as the kitten works by parsing the output from ripgrep.