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
656 stars 33 forks source link

hlchunk would freeze on deleting some line with the new treesitter #150

Open szcharlesji opened 15 hours ago

szcharlesji commented 15 hours ago

Describe the bug The whole editor would freeze after delete some lines that would result in a different tree structure

To Reproduce Steps to reproduce the behavior:

  1. Open a tree-parsed file
  2. Select some text over more than a tree (i.e. not from a single stem)
  3. freeze

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

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

uroybd commented 13 hours ago

It also happens if I go to the insert mode using i or c.