Files
neovim/runtime/lua/vim/treesitter
Dmytro Meleshko bcfc2037ef perf(treesitter): reduce memory usage of _select.lua #40409
Problem:  The table `history` in treesitter/_select.lua stores references
          to previously selected TSNodes, but a TSNode needs to keep its
          whole TSTree alive in memory, which may be kept alive even
          after closing the buffer to which this history corresponds.

Solution: Store just the bits of information from the TSNode we need to
          go back in selection history (the range and ID), without
          referencing the TSNode itself.
2026-06-25 11:46:26 -04:00
..
2026-03-20 23:30:09 +01:00