diff options
| author | krolxon <krolyxon@tutanota.com> | 2026-01-07 23:05:50 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2026-01-07 23:05:50 +0530 |
| commit | 9e1bc68a323707c54fa16ff18a8b5bc0ed28c427 (patch) | |
| tree | c7b89e880a2ce7a40e21b7a62ed6e64f4977bc92 /.config/nvim/lua/plugins/nvim-tree.lua | |
| parent | 2e904234a732318e759272900a8a3383e1d3ac48 (diff) | |
add neovim configuration
Diffstat (limited to '.config/nvim/lua/plugins/nvim-tree.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/nvim-tree.lua | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/nvim-tree.lua b/.config/nvim/lua/plugins/nvim-tree.lua new file mode 100644 index 0000000..aa422bf --- /dev/null +++ b/.config/nvim/lua/plugins/nvim-tree.lua @@ -0,0 +1,38 @@ +return { + "nvim-tree/nvim-tree.lua", + cmd = { "NvimTreeToggle", "NvimTreeFocus" }, + opts = { + filters = { dotfiles = false }, + disable_netrw = true, + hijack_cursor = true, + sync_root_with_cwd = true, + update_focused_file = { + enable = true, + update_root = false, + }, + view = { + width = 30, + preserve_window_proportions = true, + }, + renderer = { + root_folder_label = false, + highlight_git = true, + indent_markers = { enable = true }, + icons = { + glyphs = { + default = "", + folder = { + default = "", + empty = "", + empty_open = "", + open = "", + symlink = "", + }, + git = { unmerged = "" }, + }, + }, + }, + + } +} + |
