nvim: after/ftplugin/zig: Do not add library source to buffer list
This commit is contained in:
parent
d8187ee775
commit
292ee9428e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ vim.lsp.start(zls_config)
|
||||||
vim.cmd.compiler('zig_build')
|
vim.cmd.compiler('zig_build')
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
||||||
pattern = { "*/lib/zig/*" },
|
pattern = { "*/lib/zig/*", "*cache/zig/*" },
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.bo.buflisted = false
|
vim.bo.buflisted = false
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue