Skip to content

BUG: Error when fugitive buffer is opened #1875

@private0x0a

Description

@private0x0a

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)

NVIM 0.11.4

Operating System / Version

MacOS 15.6.1

Describe the Bug

[Neo-tree ERROR] /Users/private/.dotfiles/fugitive: : ENOENT: no such file or directory: /Users/private/.dotfiles/fugitive:

Screenshots, Traceback

No response

Steps to Reproduce

  1. Open fugitive
  2. Do git operation in the buffer add/commit
  3. Error appears

Expected Behavior

No error

Your Configuration

return {
	"nvim-neo-tree/neo-tree.nvim",
	branch = "v3.x",
	dependencies = {
		"nvim-lua/plenary.nvim",
		"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
		"MunifTanjim/nui.nvim",
	},
	lazy = false,
	keys = {
		-- { "\\", ":Neotree reveal<CR>", { desc = "NeoTree reveal" } },
		{ "\\", ":Neotree toggle<CR>", { desc = "NeoTree toggle" } },
	},
	opts = {
		filesystem = {
			follow_current_file = {
				enabled = true,
			},
			window = {
				mappings = {
					["\\"] = "close_window",
				},
			},
		},
	},
}

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