mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
feat(autocmds): added 'query' to close_with_q autocmd
This commit is contained in:
@@ -42,15 +42,16 @@ vim.api.nvim_create_autocmd("BufReadPost", {
|
|||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
group = augroup("close_with_q"),
|
group = augroup("close_with_q"),
|
||||||
pattern = {
|
pattern = {
|
||||||
"qf",
|
"PlenaryTestPopup",
|
||||||
"help",
|
"help",
|
||||||
|
"lspinfo",
|
||||||
"man",
|
"man",
|
||||||
"notify",
|
"notify",
|
||||||
"lspinfo",
|
"qf",
|
||||||
|
"query", -- :InspectTree
|
||||||
"spectre_panel",
|
"spectre_panel",
|
||||||
"startuptime",
|
"startuptime",
|
||||||
"tsplayground",
|
"tsplayground",
|
||||||
"PlenaryTestPopup",
|
|
||||||
},
|
},
|
||||||
callback = function(event)
|
callback = function(event)
|
||||||
vim.bo[event.buf].buflisted = false
|
vim.bo[event.buf].buflisted = false
|
||||||
|
|||||||
Reference in New Issue
Block a user