From ccd4a097906f0d86785377a74849a0babfb4535c Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 13 Feb 2023 03:25:52 +0000 Subject: [PATCH] feat(nvim): make nvim-tree have space for java --- dot_config/nvim/lua/plugins/nvimtree.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/nvim/lua/plugins/nvimtree.lua b/dot_config/nvim/lua/plugins/nvimtree.lua index d90a877..3095fb8 100644 --- a/dot_config/nvim/lua/plugins/nvimtree.lua +++ b/dot_config/nvim/lua/plugins/nvimtree.lua @@ -5,6 +5,7 @@ return { config = function() require("nvim-tree").setup({ hijack_cursor = true, + hijack_netrw = false, sync_root_with_cwd = true, respect_buf_cwd = true, update_focused_file = { @@ -13,6 +14,9 @@ return { }, view = { centralize_selection = true, + width = { + max = 60 + } }, renderer = { group_empty = true,