nvim: after/ftplugin/zig: Do not add Zig library to buffer list
This commit is contained in:
parent
41f307d8a6
commit
8662acc7e8
1 changed files with 7 additions and 0 deletions
|
@ -2,3 +2,10 @@ local lsp_utils = require('lsp-utils')
|
||||||
local zls_config = lsp_utils.zls_config()
|
local zls_config = lsp_utils.zls_config()
|
||||||
|
|
||||||
vim.lsp.start(zls_config)
|
vim.lsp.start(zls_config)
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
||||||
|
pattern = { "*/lib/zig/*" },
|
||||||
|
callback = function()
|
||||||
|
vim.bo.buflisted = false
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue