fix: delete command

This commit is contained in:
əlemi 2024-09-07 01:35:45 +02:00
parent 7fd36cf95c
commit c080514c3e
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,6 @@ local function create(buffer)
session.workspace:create_buffer(buffer):await()
end
return {
sync = sync,
attach = attach,

View file

@ -96,7 +96,8 @@ local joined_actions = {
delete = function(path)
if path == nil then error("missing buffer name") end
buffers.delete(path)
session.workspace:delete_buffer(path):await()
print(" xx deleted buffer " .. path)
end,
buffers = function()