mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-25 00:44:52 +01:00
fix: delete command
This commit is contained in:
parent
7fd36cf95c
commit
c080514c3e
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,6 @@ local function create(buffer)
|
|||
session.workspace:create_buffer(buffer):await()
|
||||
end
|
||||
|
||||
|
||||
return {
|
||||
sync = sync,
|
||||
attach = attach,
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue