This commit is contained in:
parent
103270a241
commit
3682c07b3e
@ -149,7 +149,7 @@ function Renderer.markup_to_lines(opts) -- {{{
|
||||
end -- }}}
|
||||
|
||||
--- @param opts {
|
||||
--- tree: string;
|
||||
--- tree: u.renderer.Tree;
|
||||
--- format_tag?: fun(tag: u.renderer.Tag): string;
|
||||
--- }
|
||||
function Renderer.markup_to_string(opts) return table.concat(Renderer.markup_to_lines(opts), '\n') end
|
||||
|
@ -147,7 +147,7 @@ function M.create_delegated_cmd_args(current_args)
|
||||
range = current_args.range == 1 and { current_args.line1 }
|
||||
or current_args.range == 2 and { current_args.line1, current_args.line2 }
|
||||
or nil,
|
||||
count = current_args.count ~= -1 and current_args.count or nil,
|
||||
count = (current_args.count ~= -1 and current_args.range == 0) and current_args.count or nil,
|
||||
reg = current_args.reg ~= '' and current_args.reg or nil,
|
||||
bang = current_args.bang or nil,
|
||||
args = #current_args.fargs > 0 and current_args.fargs or nil,
|
||||
|
Loading…
x
Reference in New Issue
Block a user