summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2024-05-18 03:33:19 +0530
committerBrahmajit Das <brahmajit.xyz@gmail.com>2024-05-18 03:33:19 +0530
commit0a2ca6ad7c197b24d39d6fb1f7b67871b5f88a43 (patch)
tree85255cf1fc1b003b292abf146ed08fe737f050fd
parent8d06275e203a11bbd79b2b8474de24edd289bcbc (diff)
nvim: plugins: nvim-tree: use updated config
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
-rw-r--r--lua/plugins/nvim-tree.lua25
1 files changed, 5 insertions, 20 deletions
diff --git a/lua/plugins/nvim-tree.lua b/lua/plugins/nvim-tree.lua
index 061ae9e..4cdec34 100644
--- a/lua/plugins/nvim-tree.lua
+++ b/lua/plugins/nvim-tree.lua
@@ -3,32 +3,17 @@ vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- OR setup with some options
-require('nvim-tree').setup({
- sort_by = "case_sensitive",
- on_attach = "disable",
+require("nvim-tree").setup({
+ sort = {
+ sorter = "case_sensitive",
+ },
view = {
- centralize_selection = false,
- cursorline = true,
- debounce_delay = 15,
- width = 34,
- side = "left",
- preserve_window_proportions = false,
- number = false,
- relativenumber = false,
- signcolumn = "yes",
+ width = 30,
},
renderer = {
group_empty = true,
- highlight_opened_files = "all"
},
filters = {
dotfiles = true,
},
- git = {
- enable = true,
- ignore = true,
- show_on_dirs = true,
- show_on_open_dirs = true,
- timeout = 400,
- },
})