add folder arrows (#1022)

This commit is contained in:
siduck 2022-05-04 19:12:26 +05:30
parent 7e3a4e9a9f
commit 6fd4fbbe98

View File

@ -10,12 +10,12 @@ local g = vim.g
g.nvim_tree_add_trailing = 0 -- append a trailing slash to folder names g.nvim_tree_add_trailing = 0 -- append a trailing slash to folder names
g.nvim_tree_git_hl = 1 g.nvim_tree_git_hl = 1
g.nvim_tree_highlight_opened_files = 0 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 = { g.nvim_tree_show_icons = {
folders = 1, folders = 1,
files = 1, files = 1,
git = 1, git = 1,
folder_arrows = 1,
} }
g.nvim_tree_icons = { g.nvim_tree_icons = {
@ -34,9 +34,11 @@ g.nvim_tree_icons = {
default = "", default = "",
empty = "", empty = "",
empty_open = "", empty_open = "",
open = "", open = "",
symlink = "", symlink = "",
symlink_open = "", symlink_open = "",
arrow_open = "",
arrow_closed = "",
}, },
} }
@ -71,7 +73,7 @@ local options = {
}, },
renderer = { renderer = {
indent_markers = { indent_markers = {
enable = true, enable = false,
}, },
}, },
} }