aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorphanium <91544758+phanen@users.noreply.github.com>2026-02-25 05:22:30 +0800
committerGitHub <noreply@github.com>2026-02-24 16:22:30 -0500
commit16aab4cb48e19c8236eda788c50b6b475ebfa1b0 (patch)
tree46384cc2e78fbc3d1783eeb6637ba0cceb19cfc7 /test/functional/vimscript/executable_spec.lua
parent39c4e0f33667e8f4eae3229eb807694aad15347e (diff)
downloadrneovim-16aab4cb48e19c8236eda788c50b6b475ebfa1b0.tar.gz
rneovim-16aab4cb48e19c8236eda788c50b6b475ebfa1b0.tar.bz2
rneovim-16aab4cb48e19c8236eda788c50b6b475ebfa1b0.zip
fix(treesitter): InspectTree only show the largest injection #37906
Problem: :InspectTree don't show luadoc injection lua file. Since luadoc share the same "root" with comment in their common primary (lua) tree. Current logic simply show the largest (comment injection) and ignore all smaller one (luadoc injection). Solution: Handle different lang injections separately. Then sort them by byte_length to ensure the draw tree consistent.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions