Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Boxes not rendering properly #1540

Open
3 tasks done
jprice239 opened this issue Aug 12, 2024 · 0 comments
Open
3 tasks done

BUG: Boxes not rendering properly #1540

jprice239 opened this issue Aug 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jprice239
Copy link

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,
}
@jprice239 jprice239 added the bug Something isn't working label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant