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.24k stars 21 forks source link

laggy when using with zenmode #12

Closed qvieth closed 1 month ago

qvieth commented 3 years ago

Using twilight outside zenmode works great, while in zenmode it's almost unable to use (I don't know whether it is it my potato computer's problem, really hope somebody can help because I really like this plugin (also zenmode))

qvieth commented 3 years ago

tried moving from neovim 0.5 and nvim-treesitter compat branch to neovim nightly and nvimtreesitter master makes issue no longer appear!

qvieth commented 3 years ago

I was wrong, disable treesitter fixes the issue, not the update(after reinstallation of neovim and using TSInstall, twilight becomes laggy again)

qvieth commented 3 years ago

So is there an option to use twilight without treesitter (while keep treesitter installed on the system for the other plugins to work) ?

folke commented 3 years ago

I just pushed a change where you can now disable treesitter.

Apart from that it would be good to know what kind of lag you experience?

qvieth commented 3 years ago

https://user-images.githubusercontent.com/71810726/128475423-13cb3b6a-9ad6-48eb-82f9-c58ad1c34c05.mp4

the extreme one when moving up or down

github-actions[bot] commented 1 month 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 1 month ago

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

jessevdp commented 4 weeks ago

I also appear to experience lag when using Twilight in combination with ZenMode.