From 1057f3a437e6e7edb7ed303ff59678adccc8ca42 Mon Sep 17 00:00:00 2001 From: Vadym-Valdis Yudaiev Date: Wed, 12 Jul 2023 21:50:34 +0300 Subject: [PATCH] fix(Workspace): vim.ui.input expected table --- lua/automaton/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/automaton/init.lua b/lua/automaton/init.lua index e44a83b..9c388b4 100644 --- a/lua/automaton/init.lua +++ b/lua/automaton/init.lua @@ -251,7 +251,7 @@ function Automaton.recent_workspaces() end function Automaton.create_workspace() - vim.ui.input("Workspace name", function(wsname) + vim.ui.input({prompt = "Workspace name "}, function(wsname) if wsname and string.len(wsname) then require("automaton.picker").select_folder(function(p) Automaton.init_workspace(Path:new(p, wsname))