2022-10-06 21:14:32 +02:00
|
|
|
-- Automatically close the goto definition buffer after leaving
|
2023-01-10 16:12:52 +01:00
|
|
|
-- 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,
|
|
|
|
-- })
|