nvim-tree: load nvim-tree if openOnSetup

This commit is contained in:
Ching Pei Yang 2024-08-03 16:59:41 +02:00 committed by Pei Yang Ching
commit 5e71562728
2 changed files with 3 additions and 2 deletions

View file

@ -49,6 +49,7 @@ in {
${
optionalString cfg.openOnSetup ''
require('lz.n').trigger_load("nvim-tree-lua")
-- autostart behaviour
-- Open on startup has been deprecated
-- see https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup