diff options
Diffstat (limited to 'modules/indexer')
-rw-r--r-- | modules/indexer/code/search.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/indexer/code/search.go b/modules/indexer/code/search.go index 51b7c9427d..bb8dcf16b3 100644 --- a/modules/indexer/code/search.go +++ b/modules/indexer/code/search.go @@ -101,7 +101,7 @@ func searchResult(result *SearchResult, startIndex, endIndex int) (*Result, erro Language: result.Language, Color: result.Color, LineNumbers: lineNumbers, - FormattedLines: highlight.Code(result.Filename, formattedLinesBuffer.String()), + FormattedLines: highlight.Code(result.Filename, "", formattedLinesBuffer.String()), }, nil } |