richardbizik / nvim-toc

Generate markdown table of contents
MIT License
36 stars 0 forks source link

The contents disappear when the directory is updated #4

Open Hello-LuisWu opened 3 months ago

Hello-LuisWu commented 3 months ago

When I update the table of contents with 'TOC' or 'TOCList', the contents at the bottom disappear

richardbizik commented 3 months ago

Hi, I am having some issues with nvim v0.10.0 as well. It looks like sometimes when I update the buffer the tree-sitter somehow breaks and I get wrong positions for the existing table of contents. But I was not able to pinpoint the issue yet. Could this be the same issue? What exactly disappears in your case?