Let generic text search always show line numbers.

This commit is contained in:
voussoir 2021-01-01 16:22:18 -08:00
parent cda0546125
commit 96a4520c9c

View file

@ -66,7 +66,7 @@ def search_contents_generic(filepath, content_args):
return
content_args['text'] = text
content_args['line_numbers'] = content_args.get('line_numbers', True)
content_args['line_numbers'] = True
results = search(**content_args)
results = list(results)