From 7739a4878b75204128af9e3d79dc16b006942605 Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Wed, 30 Jul 2025 14:04:03 +0200 Subject: [PATCH] feat(plugins): add nvim-tree --- lazy-lock.json | 1 + lua/custom/plugins/nvim-tree.lua | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 lua/custom/plugins/nvim-tree.lua diff --git a/lazy-lock.json b/lazy-lock.json index 7cfbbdb..e5db3fa 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -37,6 +37,7 @@ "nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, "nvim-lint": { "branch": "master", "commit": "9c6207559297b24f0b7c32829f8e45f7d65b991f" }, "nvim-lspconfig": { "branch": "master", "commit": "3db16ceeea947517f0dc1404c24dcb5ab0c91d26" }, + "nvim-tree.lua": { "branch": "master", "commit": "65bae449224b8a3bc149471b96587b23b13a9946" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-treesitter-context": { "branch": "master", "commit": "02fd97c803962108d129cf42e05adc5eff7f89c1" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, diff --git a/lua/custom/plugins/nvim-tree.lua b/lua/custom/plugins/nvim-tree.lua new file mode 100644 index 0000000..1dfc771 --- /dev/null +++ b/lua/custom/plugins/nvim-tree.lua @@ -0,0 +1,18 @@ +return { + "nvim-tree/nvim-tree.lua", + cmd = { "NvimTreeToggle" }, + dependencies = { + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + "nvim-tree/nvim-web-devicons", + }, + opts = { + view = { + side = "right", + width = 45, + }, + }, + keys = { + { "E", "NvimTreeToggle", desc = "Toggle Explorer" }, + }, +}