shellRaining / hlchunk.nvim

This is the lua implementation of nvim-hlchunk, you can use this neovim plugin to highlight your indent line and the current chunk (context) your cursor stayed
MIT License
472 stars 29 forks source link

indent: shifting leftwards leads to visual glitch #110

Closed soifou closed 1 month ago

soifou commented 1 month ago

Describe the bug Using indent module, when you shift leftwards (<<) you'll see the character redrawn above the indent guide. Shifting righwards (>>) does not.

Screenshots

https://github.com/shellRaining/hlchunk.nvim/assets/7377369/e26d7a9c-9547-44fc-b5d7-f05361a74ce9

shellRaining commented 1 month ago

Actually it not a bug, indent set a delay field to enhance performance, default is 100 ms, you can set it to 0 to avoid flickering during rendering.

more info here

soifou commented 1 month ago

Thanks for the pointer I will try to play with that!