Skip to content

Highlight hidden feature error #2947

Closed
@wiserfz

Description

@wiserfz

Description

Highlight hidden config highlight all files and directories.

image

Neovim version

NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1720049189

Operating system and version

macOS 13.2

Windows variant

No response

nvim-tree version

010ae03

Clean room replication

return {
  "nvim-tree/nvim-tree.lua", -- file explorer
  dependencies = {
    "nvim-tree/nvim-web-devicons", -- for file icons
  },
  config = function()
    local setup, tree = pcall(require, "nvim-tree")
    if not setup then
      return
    end

    tree.setup({
      renderer = {
        highlight_hidden = "name",
      },
    })
  end,
}

Steps to reproduce

  1. cargo new foo
  2. nvim foo

Expected behavior

No response

Actual behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionExisting functionality brokenreproducedIssue confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions