Dont list quickfix buffers #1310
This commit is contained in:
parent
1500ff1516
commit
86b3b6e96b
@ -8,6 +8,14 @@ vim.cmd "silent! command! NvChadSnapshotCheckout lua require('nvchad').snap_chec
|
|||||||
local autocmd = vim.api.nvim_create_autocmd
|
local autocmd = vim.api.nvim_create_autocmd
|
||||||
local api = vim.api
|
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
|
-- wrap the PackerSync command to warn people before using it in NvChadSnapshots
|
||||||
autocmd("VimEnter", {
|
autocmd("VimEnter", {
|
||||||
callback = function()
|
callback = function()
|
||||||
|
Loading…
Reference in New Issue
Block a user