nvim: after/ftplugin/rust: Do not add cargo registry to buffer list
This commit is contained in:
parent
56f81f598e
commit
406570312f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ vim.api.nvim_create_autocmd({ "BufWritePre" }, {
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
||||||
pattern = { "*/git/checkouts/*", "*/toolchains/*" },
|
pattern = { "*/git/checkouts/*", "*/toolchains/*", "*cargo/registry/*" },
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.bo.buflisted = false
|
vim.bo.buflisted = false
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue