Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: nvim-tree.lua plugin detection uses wrong name #593

Closed
3 tasks done
ava5627 opened this issue Jul 9, 2024 · 0 comments · Fixed by #592
Closed
3 tasks done

bug: nvim-tree.lua plugin detection uses wrong name #593

ava5627 opened this issue Jul 9, 2024 · 0 comments · Fixed by #592
Labels
bug Something isn't working

Comments

@ava5627
Copy link

ava5627 commented Jul 9, 2024

Did you check docs and existing issues?

  • I have read all the tokyonight.nvim docs
  • I have searched the existing issues of tokyonight.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.10.0

Operating system/version

Nixos 24.11

Describe the bug

The nvim tree plugin is not automatically detected because it is looking for nvim-tree instead of nvim-tree.lua .
adding "nvim-tree" to plugins manually does work

Steps To Reproduce

Open nvim with nvim-tree.lua installed
Open tree, highlights are not applied

Expected Behavior

Nvim tree plugin is detected and correct highlights are applied

Repro

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    "nvim-tree/nvim-tree.lua",
    config = true,
  }
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here
@ava5627 ava5627 added the bug Something isn't working label Jul 9, 2024
@folke folke closed this as completed in 66a272b Jul 9, 2024
georgeharker pushed a commit to georgeharker/tokyonight.nvim that referenced this issue Jul 9, 2024
folke pushed a commit that referenced this issue Jul 13, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.5.0](v4.4.0...v4.5.0)
(2024-07-13)


### Features

* helpExample (checkhealth)
([7f41b0e](7f41b0e))


### Bug Fixes

* **fish:** use magenta for option color
([78cc1ae](78cc1ae))
* **nvim-tree:** corrected plugin name. Fixes
[#593](#593)
([66a272b](66a272b))
* **theme:** apply terminal colors right away. Fixes
[#591](#591)
([70c6334](70c6334))
* **treesitter:** make jsx tags the same as tsx. Closes
[#597](#597)
([468866d](468866d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant