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
661 stars 35 forks source link

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

Closed szcharlesji closed 2 days ago

szcharlesji commented 2 weeks 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 2 weeks ago

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

uroybd commented 2 days ago

152 fixed this issue too.

szcharlesji commented 2 days ago

fixed by https://github.com/shellRaining/hlchunk.nvim/pull/152