From e2fb5e09e98f39fe7ab0596c4907c558fa4db6a9 Mon Sep 17 00:00:00 2001 From: ibeex Date: Mon, 17 Jun 2024 14:36:44 +0200 Subject: [PATCH] Update edgy.lua Fixes https://github.com/LazyVim/LazyVim/issues/3697 --- lua/lazyvim/plugins/extras/ui/edgy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/ui/edgy.lua b/lua/lazyvim/plugins/extras/ui/edgy.lua index 95b2ccf1..f4ac4cbf 100644 --- a/lua/lazyvim/plugins/extras/ui/edgy.lua +++ b/lua/lazyvim/plugins/extras/ui/edgy.lua @@ -100,7 +100,7 @@ return { local neotree_sources = { buffers = "top", git_status = "right" } for source, pos in pairs(neotree_sources) do - if vim.list_contains(neotree_opts.sources, source) then + if neotree_opts.sources ~= nil and vim.list_contains(neotree_opts.sources, source) then table.insert(opts.left, 3, { title = "Neo-Tree " .. source:gsub("_", " "), ft = "neo-tree",