Isrothy/neominimap.nvim

Treesitter context covers minimap

ethanuppal opened this issue · 5 comments

Describe the bug
A clear and concise description of what the bug is.

treesitter context covers the minimap.

To Reproduce
Steps to reproduce the behavior, including the simplest config.

Use treesitter context with this plugin.

Expected behavior
A clear and concise description of what you expected to happen.

It should not cover it.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-09-21 at 4 22 50 PM

Please complete the following information:

  • OS: macOS 14.2.1
  • Neovim Version: 0.10.1

Additional context
Add any other context about the problem here.

N/A

Have you tried giving neominimap a higher z-index?

Since there hasn’t been any further activity on this issue, I will close it in 30 days if no additional information or response is provided. Please feel free to reopen or comment if you have any updates. Thank you!

Have you tried giving neominimap a higher z-index?

@Isrothy Hi, I also met this problem when using minimap. Apart from this, minimap can not render the clangd provided highlight.
image

  • About nvim-treesitter-context overlapping problem
    I finally found an issue report in neovim repo. I changed the neominimap zindex value, vim.g.neominimap = { float = { z_index = 11, }, }, leading to higher zindex value than nvim-treesitter-context. Now the overlapping problem has been solved! 😆
  • About highlight rendering using clangd
    I need your help! 😭

This plug doesn’t support semantic tokens, so it can’t show the highlights that clangd gives. If you want highlights, you can use treesitter highlight instead.

Brilliant! I finally figure out my nvim-treesitter configuration mistakes and now all things go well. Thanks a lot!