Skip to content

BUG: Boxes not rendering properly #1540

Open
@jprice239

Description

@jprice239

Did you check docs and existing issues?

  • I have read all the docs.
  • I have searched the existing issues.
  • I have searched the existing discussions.

Neovim Version (nvim -v)

v0.10.0

Operating System / Version

WSL

Describe the Bug

The border of the Order by, new file, filter directory, etc. are not rendering correctly. I am not an expert with neovim so I am not sure exactly what more to share about this issue.
image
image
image

Screenshots, Traceback

No response

Steps to Reproduce

Not sure

Expected Behavior

Expected boxes to look like the screenshots

Your Configuration

return {
  'nvim-neo-tree/neo-tree.nvim',
  version = '*',
  dependencies = {
    'nvim-lua/plenary.nvim',
    'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
    'MunifTanjim/nui.nvim',
  },
  cmd = 'Neotree',
  keys = {
    { '<leader>pv', ':Neotree reveal<CR>', desc = '[P]roject [V]iew' },
  },
  config = function()
    require('neo-tree').setup {
      sort_case_sensitive = false,
      window = { width = 40 },
      event_handlers = {

        {
          event = 'file_open_requested',
          handler = function()
            require('neo-tree.command').execute { action = 'close' }
          end,
        },
        {
          event = 'neo_tree_buffer_enter',
          handler = function()
            local state = require('neo-tree.sources.manager').get_state 'filesystem'
            state.sort = { label = 'Type', direction = -1 }
            require('neo-tree.sources.common.commands').order_by_type(state)
          end,
        },
      },
      filesystem = {
        hijack_netrw_behavior = 'open_current',
        filtered_items = {
          hide_dotfiles = false,
          hide_gitignored = false,
          hide_hidden = false,
        },
        window = {
          mappings = {
            ['\\'] = 'close_window',
          },
        },
      },
    }
  end,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions