mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
parent
9177c3ad5e
commit
e2fb5e09e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue