diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
| commit | 085ff668ab45ac8d57c093e502b1175a86f2c14e (patch) | |
| tree | 0fe7de3fdb29a9d0f7294e4af91d938fe5283533 /modules/tools/neovim/plugins/config/nvim-tree.lua | |
| parent | 70b590bf6b83dcb8f142451951a0f54ec3308283 (diff) | |
| download | home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.tar.gz home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.zip | |
Removed unnecessary packages.
Diffstat (limited to 'modules/tools/neovim/plugins/config/nvim-tree.lua')
| -rw-r--r-- | modules/tools/neovim/plugins/config/nvim-tree.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/tools/neovim/plugins/config/nvim-tree.lua b/modules/tools/neovim/plugins/config/nvim-tree.lua new file mode 100644 index 0000000..cdbef6a --- /dev/null +++ b/modules/tools/neovim/plugins/config/nvim-tree.lua @@ -0,0 +1,15 @@ +require("nvim-tree").setup { + filters = { + enable = false + }, + renderer = { + indent_markers = { + enable = true + }, + root_folder_label = function(path) + return vim.fn.fnamemodify(path, ":t") + end, + }, +}; + +vim.keymap.set("n", "<C-n>", ":NvimTreeToggle<CR>", { silent = true }); |
