Dont list quickfix buffers #1310

This commit is contained in:
Sidhanth Rathod 2022-07-08 19:20:57 +05:30 committed by GitHub
parent 1500ff1516
commit 86b3b6e96b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,14 @@ vim.cmd "silent! command! NvChadSnapshotCheckout lua require('nvchad').snap_chec
local autocmd = vim.api.nvim_create_autocmd
local api = vim.api
-- dont list quickfix buffers
autocmd("FileType", {
pattern = "qf",
callback = function()
vim.opt_local.buflisted = false
end,
})
-- wrap the PackerSync command to warn people before using it in NvChadSnapshots
autocmd("VimEnter", {
callback = function()