folke / twilight.nvim

🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
Apache License 2.0
1.2k stars 20 forks source link

bug: weird highlighting behaviour #33

Closed JeanMertz closed 3 days ago

JeanMertz commented 1 year ago

Did you check docs and existing issues?

Neovim version (nvim -v)

v0.9.0-dev-e30cc8b

Operating system/version

MacOS 13.2.1

Describe the bug

Whenever I enable Twilight, this is how my editor looks:

Screenshot 2023-04-12 at 10 13 42

As you can see, it dims many of the tokens outside of the focus area, but a lot stay as-is.

Here's a list of plugins I'm currently using:

  impatient-nvim
  gruvbox-flat-nvim
  which-key-nvim
  lualine-nvim
  nvim-web-devicons
  fidget-nvim
  telescope-nvim
  telescope-zf-native-nvim
  telescope-all-recent
  sqlite-lua
  neoscroll-nvim
  dressing-nvim
  nvim-notify
  gitsigns-nvim
  cmd-palette
  telescope-hop
  zen-mode-nvim
  twilight-nvim

It doesn't appear to be a problem with the colorscheme, as switching from gruvbox-flat to gruvbox-material shows the extract same thing happening (but with different colours, obviously):

Screenshot 2023-04-12 at 11 05 37

Steps To Reproduce

n/a

Expected Behavior

n/a

Repro

n/a
jhaux commented 5 months ago

I have the same issue. Any progress @JeanMertz?

jhaux commented 5 months ago

Seems like an upgrade to nvim version 0.10 did it for me.

NVIM v0.10.0-dev-2284+gf6042d5c3
Build type: RelWithDebInfo
LuaJIT 2.1.1707061634
github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 days ago

This issue was closed because it has been stalled for 7 days with no activity.