fix: add spaces to prompts and blankline to rename output (#1154)

This commit is contained in:
Michael
2022-04-11 10:47:23 +03:00
committed by GitHub
parent 94ce41ce96
commit fc925d814a
2 changed files with 3 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ function M.fn(node)
local containing_folder = get_containing_folder(node)
local input_opts = { prompt = "Create file", default = containing_folder }
local input_opts = { prompt = "Create file ", default = containing_folder }
vim.ui.input(input_opts, function(new_file_path)
if not new_file_path or new_file_path == containing_folder then