vimUtils.neovimRequireCheckHook: fix hook by adding plugin dependencies to rtp

else neovim was not able to find the dependencies
This commit is contained in:
Matthieu Coudron 2024-03-19 00:51:35 +01:00
parent cc3ebacb50
commit cf53c81a2d
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ neovimRequireCheckHook () {
# editorconfig-checker-disable
export HOME="$TMPDIR"
@nvimBinary@ -es --headless -n -u NONE -i NONE --clean -V1 \
--cmd "set rtp+=$out" \
--cmd "set rtp+=$out,${dependencies/ /,}" \
--cmd "lua require('$nvimRequireCheck')"
fi
}