feat: add option for folder arrows to be inline with indent markers (#1468)

This commit is contained in:
Austin Harris
2022-07-28 04:49:23 -05:00
committed by GitHub
parent ac90664001
commit 7fcb48c852
3 changed files with 14 additions and 4 deletions

View File

@@ -201,6 +201,7 @@ Subsequent calls to setup will replace the previous configuration.
root_folder_modifier = ":~",
indent_markers = {
enable = false,
inline_arrows = true,
icons = {
corner = "└",
edge = "│",
@@ -670,6 +671,11 @@ UI rendering setup
Display indent markers when folders are open
Type: `boolean`, Default: `false`
*nvim-tree.renderer.indent_markers.inline_arrows*
Display folder arrows in the same column as indent marker
when using |renderer.icons.show.folder_arrow|
Type: `boolean`, Default: `true`
*nvim-tree.renderer.indent_markers.icons*
Icons shown before the file/directory.
Type: `table`, Default: `{ corner = "└", edge = "│", item = "│", none = " ", }`