Let generic text search always show line numbers.
This commit is contained in:
parent
cda0546125
commit
96a4520c9c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue