From 292ee9428eceae6d992be8f99a1cfa60a8fea716 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 19 Nov 2024 00:05:51 +0530 Subject: [PATCH] nvim: after/ftplugin/zig: Do not add library source to buffer list --- nvim/.config/nvim/after/ftplugin/zig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/after/ftplugin/zig.lua b/nvim/.config/nvim/after/ftplugin/zig.lua index ce4b558..05a84a6 100644 --- a/nvim/.config/nvim/after/ftplugin/zig.lua +++ b/nvim/.config/nvim/after/ftplugin/zig.lua @@ -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,