1
This commit is contained in:
Alex Yatskov 2024-04-28 19:26:32 -07:00
parent 3959c28d9f
commit cc77c17478

View File

@ -416,7 +416,7 @@ end
function WrapContext:update_builder_param(builder, param, opt) function WrapContext:update_builder_param(builder, param, opt)
local text = param.text local text = param.text
if #opt.line_prefix > 0 then if #opt.line_prefix > 0 then
text = param.text:match('^%s*[' .. opt.line_prefix .. ']?(.*)') text = param.text:match('^%s*[' .. opt.line_prefix .. ']?%s*(.*)')
end end
local cursor = nil local cursor = nil