feat: some shit
This commit is contained in:
7
configs/nvim/ftplugin/qf.lua
Normal file
7
configs/nvim/ftplugin/qf.lua
Normal file
@ -0,0 +1,7 @@
|
||||
-- Automatically close the goto definition buffer after leaving
|
||||
local buffer_id = vim.api.nvim_win_get_buf(0)
|
||||
vim.api.nvim_create_autocmd({ "bufwinleave", "bufleave" }, {
|
||||
pattern = "*",
|
||||
once = true,
|
||||
command = "bdelete " .. buffer_id,
|
||||
})
|
Reference in New Issue
Block a user