-
-
Notifications
You must be signed in to change notification settings - Fork 618
Highlight hidden feature error #2947
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
Comments
I'm not able to replicate this one with a minimal configuration. Please report your results with this @Gitfz810
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvt-min/site]]
local package_root = "/tmp/nvt-min/site/pack"
local install_path = package_root .. "/packer/start/packer.nvim"
local function load_plugins()
require("packer").startup {
{
"wbthomason/packer.nvim",
"nvim-tree/nvim-tree.lua",
"nvim-tree/nvim-web-devicons",
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
},
config = {
package_root = package_root,
compile_path = install_path .. "/plugin/packer_compiled.lua",
display = { non_interactive = true },
},
}
end
if vim.fn.isdirectory(install_path) == 0 then
print "Installing nvim-tree and dependencies."
vim.fn.system { "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path }
end
load_plugins()
require("packer").sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua setup()]]
vim.opt.termguicolors = true
vim.opt.cursorline = true
-- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
_G.setup = function()
require("nvim-tree").setup({
renderer = {
highlight_hidden = "name",
},
})
end : ; cargo new foo
Creating binary (application) `foo` package
note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
: ; nvim -nu nvt-min.lua |
Replicated this time, from inside foo. Regression since 5ad8762 |
alex-courtis
added a commit
that referenced
this issue
Oct 14, 2024
I'd be most grateful if you thoroughly tested a fix branch @Gitfz810 cd /path/to/nvim-tree.lua
git pull
git checkout 2947-all-nodes-highlight-hidden When you're finished testing: git checkout master |
Thank you for your work, I tested with branch |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Description
Highlight hidden config highlight all files and directories.
Neovim version
Operating system and version
macOS 13.2
Windows variant
No response
nvim-tree version
010ae03
Clean room replication
Steps to reproduce
Expected behavior
No response
Actual behavior
No response
The text was updated successfully, but these errors were encountered: