aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorphanium <91544758+phanen@users.noreply.github.com>2025-03-19 22:48:28 +0800
committerGitHub <noreply@github.com>2025-03-19 07:48:28 -0700
commitc48cf1875225310feb8d656cf42c5d817b7e150e (patch)
tree484297b0a97ebab82f345f7081afafe4cafa1e91 /runtime/lua/vim/lsp/util.lua
parent424f4cc0389ed883f220bd5cbab9c07b4955acde (diff)
downloadrneovim-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