nvim: after/ftplugin/zig: Do not add library source to buffer list

This commit is contained in:
Sanchayan Maity 2024-11-19 00:05:51 +05:30
parent d8187ee775
commit 292ee9428e
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -6,7 +6,7 @@ vim.lsp.start(zls_config)
vim.cmd.compiler('zig_build')
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
pattern = { "*/lib/zig/*" },
pattern = { "*/lib/zig/*", "*cache/zig/*" },
callback = function()
vim.bo.buflisted = false
end,