Fix command line function

master
Bryan 2024-10-21 23:01:25 -06:00
parent 99fe9c0bf7
commit d554979867
1 changed files with 1 additions and 3 deletions

View File

@ -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