twilight.nvim icon indicating copy to clipboard operation
twilight.nvim copied to clipboard

laggy when using with zenmode

Open qvieth opened this issue 3 years ago • 5 comments

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 avatar Aug 06 '21 03:08 qvieth

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

qvieth avatar Aug 06 '21 03:08 qvieth

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

qvieth avatar Aug 06 '21 04:08 qvieth

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

qvieth avatar Aug 06 '21 04:08 qvieth

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?

folke avatar Aug 06 '21 07:08 folke

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

the extreme one when moving up or down

qvieth avatar Aug 06 '21 07:08 qvieth