From 6fd4fbbe98775f5f7db57dcf076426eb0b99474e Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 4 May 2022 19:12:26 +0530 Subject: [PATCH] add folder arrows (#1022) --- lua/plugins/configs/nvimtree.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lua/plugins/configs/nvimtree.lua b/lua/plugins/configs/nvimtree.lua index b242a56..c319fc7 100644 --- a/lua/plugins/configs/nvimtree.lua +++ b/lua/plugins/configs/nvimtree.lua @@ -10,12 +10,12 @@ local g = vim.g g.nvim_tree_add_trailing = 0 -- append a trailing slash to folder names g.nvim_tree_git_hl = 1 g.nvim_tree_highlight_opened_files = 0 -g.nvim_tree_root_folder_modifier = table.concat { ":t:gs?$?/..", string.rep(" ", 1000), "?:gs?^??" } g.nvim_tree_show_icons = { folders = 1, files = 1, git = 1, + folder_arrows = 1, } g.nvim_tree_icons = { @@ -34,9 +34,11 @@ g.nvim_tree_icons = { default = "", empty = "", empty_open = "", - open = " ", + open = "", symlink = "", symlink_open = "", + arrow_open = "", + arrow_closed = "", }, } @@ -71,7 +73,7 @@ local options = { }, renderer = { indent_markers = { - enable = true, + enable = false, }, }, }