diff options
author | phanium <91544758+phanen@users.noreply.github.com> | 2025-03-19 22:48:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 07:48:28 -0700 |
commit | c48cf1875225310feb8d656cf42c5d817b7e150e (patch) | |
tree | 484297b0a97ebab82f345f7081afafe4cafa1e91 /runtime/lua/vim/lsp/util.lua | |
parent | 424f4cc0389ed883f220bd5cbab9c07b4955acde (diff) | |
download | rneovim-c48cf1875225310feb8d656cf42c5d817b7e150e.tar.gz rneovim-c48cf1875225310feb8d656cf42c5d817b7e150e.tar.bz2 rneovim-c48cf1875225310feb8d656cf42c5d817b7e150e.zip |
fix(checkhealth): module not found when `&rtp` has nested paths #32988
Problem: `:checkhealth` fail to find the module when `&rtp` have nested
paths.
Solution: find in order all existed `&rtp/lua` path rather than `&rtp`
to ensure prefix exist before trim `&rtp`.
In this case one module can be searched out from two different
`&rtp/lua`, we use the first `&rtp/lua` contain the module (like how
require() works).
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions