neovim/runtime/lua/vim/treesitter
Hyker 6ef80eb42c
fix(treesitter): keep treeview open if source window is still open #31198
Problem: When there is a tree view opened by :InspectTree and the
source buffer is open in multiple windows, closing one of the source
windows will lead to the tree view being closed as well.
Regression by #31181.

Solution: Check how many source windows are open when trying to
quit one. If there are more than one, keep the tree view(s) open.
If the only source window is closed, also close the tree view(s).

fix #31196
2024-11-14 19:00:18 -08:00
..
_meta feat(treesitter): introduce child_with_descendant() 2024-10-11 17:29:45 +02:00
_fold.lua fix(treesitter): suppress get_parser warnings via opts.error 2024-09-28 00:31:45 +02:00
_query_linter.lua fix(treesitter): remove duplicate symbol names in language.inspect() 2024-10-11 18:15:07 +02:00
_range.lua docs(treesitter): generate inline docs for Ranges 2024-08-06 18:18:34 +02:00
dev.lua fix(treesitter): keep treeview open if source window is still open #31198 2024-11-14 19:00:18 -08:00
health.lua fix(health): better layout of vim.treesitter health check 2024-11-02 23:51:00 +01:00
highlighter.lua refactor: rename vim.highlight => vim.hl 2024-10-21 00:54:43 +02:00
language.lua feat(vim.validate): improve fast form and deprecate spec form 2024-10-21 11:32:06 +01:00
languagetree.lua feat(treesitter)!: use return values in language.add() 2024-09-29 15:27:16 +02:00
query.lua docs(treesitter): specify predicate boolean return value 2024-10-27 09:25:07 +00:00