refactor: format tables line by line for better readability (#2456)

* Format tables line by line for better readability

* Forgot a comma

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Azad
2023-10-14 09:07:28 +02:00
committed by GitHub
parent e64a498a5e
commit 4054fc4be3
13 changed files with 117 additions and 22 deletions

View File

@@ -14,7 +14,13 @@ function M.bulk_move()
return
end
vim.ui.input({ prompt = "Move to: ", default = core.get_cwd(), completion = "dir" }, function(location)
local input_opts = {
prompt = "Move to: ",
default = core.get_cwd(),
completion = "dir",
}
vim.ui.input(input_opts, function(location)
utils.clear_prompt()
if not location or location == "" then
return