diff options
author | Hyker <hykerr@proton.me> | 2024-11-15 04:00:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-14 19:00:18 -0800 |
commit | 6ef80eb42c730e66e5a769f619e05b353c08c118 (patch) | |
tree | f1355197a04125782dbc866c7f10798f68fbc2a1 /test/functional/lua/snippet_spec.lua | |
parent | 54c85bcb6d55ae7fa749e9998b67ebbcda58f4b9 (diff) | |
download | rneovim-6ef80eb42c730e66e5a769f619e05b353c08c118.tar.gz rneovim-6ef80eb42c730e66e5a769f619e05b353c08c118.tar.bz2 rneovim-6ef80eb42c730e66e5a769f619e05b353c08c118.zip |
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
Diffstat (limited to 'test/functional/lua/snippet_spec.lua')
0 files changed, 0 insertions, 0 deletions