feat: lazyload all the things

This commit is contained in:
2022-10-24 15:24:37 +02:00
parent 44ff742f4c
commit 79c088ba97
17 changed files with 462 additions and 246 deletions

View File

@ -1,7 +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,
})
-- vim.api.nvim_create_autocmd({ "bufwinleave", "bufleave" }, {
-- pattern = "*",
-- once = true,
-- command = "bdelete " .. buffer_id,
-- })