Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/mcphub/native/neovim/files/edit_file/block_locator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end
---@param file_content string Content of the target file
---@return LocatedBlock[] located_blocks Blocks with location information
function BlockLocator:locate_all_blocks(parsed_blocks, file_content)
local file_lines = vim.split(file_content, "\n", { plain = true, trimempty = true })
local file_lines = vim.split(file_content, "\n", { plain = true, trimempty = false })
local located_blocks = {}
for _, parsed_block in ipairs(parsed_blocks) do
if vim.trim(parsed_block.search_content) == "" then
Expand Down
Loading