Skip to content

enable_git_status still shows the git status #209

@olimorris

Description

@olimorris

Just moved to the 2.x branch. With the following config, I see that the tree still shows git highlighting.

-- plugins.file_explorer.lua

-- om.safe_require is just a wrapper for require
local ok, file_explorer = om.safe_require("neo-tree")
if not ok then
  return
end

file_explorer.setup({
  close_if_last_window = true,
  enable_git_status = false,
  enable_diagnostics = true,
  filesystem = {
    filtered_items = {
      hide_dotfiles = false,
      hide_gitignored = false,
    },
  },
})
--- Packer
{
  "nvim-neo-tree/neo-tree.nvim",
  branch = "v2.x",
  requires = {
      { "nvim-lua/plenary.nvim" },
      { "kyazdani42/nvim-web-devicons" },
      { "MunifTanjim/nui.nvim" },
  },
  config = function()
      require(config_namespace .. ".plugins.file_explorer").config()
  end,
},

Screen Shot 2022-03-26 at 22 41 22@2x

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