nvim: after/ftplugin/rust: Do not add cargo registry to buffer list

This commit is contained in:
Sanchayan Maity 2023-02-10 18:42:57 +05:30
parent 56f81f598e
commit 406570312f
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ vim.api.nvim_create_autocmd({ "BufWritePre" }, {
})
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
pattern = { "*/git/checkouts/*", "*/toolchains/*" },
pattern = { "*/git/checkouts/*", "*/toolchains/*", "*cargo/registry/*" },
callback = function()
vim.bo.buflisted = false
end,