Fix command line function
parent
99fe9c0bf7
commit
d554979867
|
|
@ -75,9 +75,7 @@ function M.in_and_out_cmd()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if target_pos then
|
if target_pos then
|
||||||
vim.print("target pos " .. target_pos + 1)
|
vim.fn.setcmdline(line, target_pos)
|
||||||
-- vim.fn.setcmdpos(target_pos + 1)
|
|
||||||
vim.fn.setcmdline(line, target_pos + 1)
|
|
||||||
end
|
end
|
||||||
-- vim.fn.setcmdpos(1)
|
-- vim.fn.setcmdpos(1)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue