2022-10-06 21:14:32 +02:00
|
|
|
-- Automatically close the goto definition buffer after leaving
|
|
|
|
local buffer_id = vim.api.nvim_win_get_buf(0)
|
2022-10-24 15:24:37 +02:00
|
|
|
-- vim.api.nvim_create_autocmd({ "bufwinleave", "bufleave" }, {
|
|
|
|
-- pattern = "*",
|
|
|
|
-- once = true,
|
|
|
|
-- command = "bdelete " .. buffer_id,
|
|
|
|
-- })
|