neovim/runtime/lua/vim/treesitter
Guilherme Soares c4eb0b64bd
fix(treesitter): find buffer in multiple windows #28922
Problem:
1. When interacting with multiple :InspectTree and the source buffer
   windows there is a high chance of errors due to the window ids not
   being updated and validated.
2. Not all InspectTree windows were closed when the source buffer was
   closed.

Solution:
1. Update InspectTree window id on `CursorMoved` event and validate
   source buffer window id before trying to navigate to it.
2. Close all InspectTree windows
2024-05-27 04:20:03 -07:00
..
_fold.lua fix(treesitter): clip end row early 2024-05-07 14:36:55 +01:00
_meta.lua perf(treesitter): use child_containing_descendant() in has-ancestor? (#28512) 2024-05-16 16:57:58 +02:00
_query_linter.lua refactor(treesitter): redesign query iterating 2024-03-19 14:24:59 +00:00
_range.lua feat(treesitter)!: incremental injection parsing 2023-08-12 16:11:36 +01:00
dev.lua fix(treesitter): find buffer in multiple windows #28922 2024-05-27 04:20:03 -07:00
health.lua fix(treesitter): text alignment in checkhealth vim.treesitter 2024-05-13 09:19:54 +02:00
highlighter.lua feat(api): add nvim__redraw for more granular redrawing 2024-05-02 15:57:06 +02:00
language.lua fix(treesitter): enforce lowercase language names (#28546) 2024-04-28 16:27:47 +02:00
languagetree.lua feat: remove deprecated features 2024-05-16 18:30:59 +02:00
query.lua perf(treesitter): use child_containing_descendant() in has-ancestor? (#28512) 2024-05-16 16:57:58 +02:00