fix: line content (#1264)

This commit is contained in:
yetone 2025-02-13 13:23:28 +08:00 committed by GitHub
parent 76c06ed277
commit 763dbe064d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -244,6 +244,7 @@ local function transform_result_content(selected_files, result_content, prev_fil
result_lines[i] = line_content result_lines[i] = line_content
if search_start_line and search_start_line ~= "" then table.insert(result_lines, i + 1, search_start_line) end if search_start_line and search_start_line ~= "" then table.insert(result_lines, i + 1, search_start_line) end
end end
line_content = "<SEARCH>"
local prev_line = result_lines[i - 1] local prev_line = result_lines[i - 1]
if if