fix(snacks): added snack_notif filetype to be excluded in some things

This commit is contained in:
Folke Lemaitre 2024-11-07 00:16:48 +01:00
parent ecfbf5b7f7
commit 93a5323ba6
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 21 additions and 18 deletions

View file

@ -55,21 +55,22 @@ vim.api.nvim_create_autocmd("FileType", {
group = augroup("close_with_q"),
pattern = {
"PlenaryTestPopup",
"checkhealth",
"dbout",
"gitsigns-blame",
"grug-far",
"help",
"lspinfo",
"neotest-output",
"neotest-output-panel",
"neotest-summary",
"notify",
"snacks_win",
"qf",
"snacks_win",
"snacks_notif",
"spectre_panel",
"startuptime",
"tsplayground",
"neotest-output",
"checkhealth",
"neotest-summary",
"neotest-output-panel",
"dbout",
"gitsigns-blame",
},
callback = function(event)
vim.bo[event.buf].buflisted = false