mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-03 09:34:41 +02:00
feat(autocmds): added 'query' to close_with_q autocmd
This commit is contained in:
parent
0d32e62567
commit
2e951e4f44
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue