mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: dont delete buffer when detaching
This commit is contained in:
parent
8a65380088
commit
33c08653fa
1 changed files with 0 additions and 1 deletions
|
@ -140,7 +140,6 @@ local function detach(name)
|
||||||
id_buffer_map[buffer] = nil
|
id_buffer_map[buffer] = nil
|
||||||
buffer_id_map[name] = nil
|
buffer_id_map[name] = nil
|
||||||
CODEMP.workspace:detach(name)
|
CODEMP.workspace:detach(name)
|
||||||
vim.api.nvim_buf_delete(buffer, {})
|
|
||||||
|
|
||||||
print(" -- detached from buffer " .. name)
|
print(" -- detached from buffer " .. name)
|
||||||
require('codemp.window').update()
|
require('codemp.window').update()
|
||||||
|
|
Loading…
Reference in a new issue