Skip to content

[Bug] neotree errors when a git repo contains any executable/binary file (.o, .exe, .elf, .a, etc) #792

@terrifictable

Description

@terrifictable

Issue

When having some kind of executable/binary (.o, .exe, .elf, .a, etc) file in some directory, trying to open/expand that directory in NeoTree results in the below error (screenshot)

How to reproduce

  1. Compile any program (i used C/C++)
  2. open the folder the compiled file was put into
  3. the below error appears

image

Environment

OS: Windows x64
NeoVim (v0.9.0-dev-964+g1539f7136) installed trough chocolatey
Im using packer.nvim for packages
neo-tree config: default

packer neo-tree setup:

use { "nvim-neo-tree/neo-tree.nvim", 
  branch = "v2.x",	
  requires = {
    "nvim-lua/plenary.nvim",
    "nvim-tree/nvim-web-devicons",
    "MunifTanjim/nui.nvim",
  },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions