From 113f8d4abd4be8a635772686a5f94e01ba282ee1 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 4 Jul 2024 12:31:24 +0200 Subject: [PATCH] pls fix nvimtree --- lua/custom/plugins/ui.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/custom/plugins/ui.lua b/lua/custom/plugins/ui.lua index 0f8b675..1bd9b1e 100644 --- a/lua/custom/plugins/ui.lua +++ b/lua/custom/plugins/ui.lua @@ -2,6 +2,10 @@ return { { 'nvim-tree/nvim-tree.lua', + cmd = { 'NvimTreeToggle', 'NvimTreeFocus' }, + config = function(_, opts) + require('nvim-tree').setup(opts) + end, keys = { { '', ' NvimTreeToggle ', desc = '[T]oggle [F]ile explorer' }, { 'tf', ' NvimTreeToggle ', desc = '[T]oggle [F]ile explorer' },