feat(autocmds): added 'query' to close_with_q autocmd

This commit is contained in:
Folke Lemaitre 2023-03-04 10:40:00 +01:00
parent 0d32e62567
commit 2e951e4f44
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -42,15 +42,16 @@ vim.api.nvim_create_autocmd("BufReadPost", {
vim.api.nvim_create_autocmd("FileType", {
group = augroup("close_with_q"),
pattern = {
"qf",
"PlenaryTestPopup",
"help",
"lspinfo",
"man",
"notify",
"lspinfo",
"qf",
"query", -- :InspectTree
"spectre_panel",
"startuptime",
"tsplayground",
"PlenaryTestPopup",
},
callback = function(event)
vim.bo[event.buf].buflisted = false