Skip to content

Large indent level when indent_markers is enable #1460

Closed
@ya2s

Description

@ya2s

Description

The indent level is large when indent_markers is enable with folder_arrow.
CleanShot 2022-07-25 at 11 53 27

Like the file tree on Github.com and neo-tree, it looks good to be indent at the arrow part
CleanShot 2022-07-25 at 11 54 11
CleanShot 2022-07-25 at 11 55 10

Neovim version

NVIM v0.8.0-dev-nightly-238-g1a655b71a

Operating system and version

macOS 12.4

nvim-tree version

master

Minimal config

require("nvim-tree").setup({
  open_on_tab = true,
  update_cwd = true,
  update_focused_file = {
    enable = true,
    update_cwd = true,
  },
  respect_buf_cwd = true,
  git = {
    enable = false,
  },
  renderer = {
    root_folder_modifier = ":t",
    icons = {
      padding = "  ",
      show = {
        file = true,
        folder = true,
        folder_arrow = true,
      },
    },
    indent_markers = {
      enable = true,
    },
  },
})


### Steps to reproduce

1. set folder_arrow
2. set indent_markers

### Expected behavior

_No response_

### Actual behavior

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatedfeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions