From fd572ef6cfdc804658f1d00b81dc06724af28dae Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 9 Jul 2022 13:05:38 +0200 Subject: fix(scripts): set packpath instead of rtp for dependencies (#42) * fix(scripts): set packpath instead of rtp for dependencies * chore: remove bot-automation.yml This will not function as I had expected as secrets are not available in PRs coming from forks, which defeats the whole purpose. Will have to build a standalone webhook service in a closed environment instead. --- scripts/nvim.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scripts/nvim.sh') diff --git a/scripts/nvim.sh b/scripts/nvim.sh index e2ac55cd..cbfd4c0e 100755 --- a/scripts/nvim.sh +++ b/scripts/nvim.sh @@ -7,5 +7,8 @@ declare -x MASON_DIR="$PWD" declare -x MASON_SCRIPT_DIR="${PWD}/scripts" nvim -u NONE -E -R --headless \ - --cmd "set rtp+=${MASON_SCRIPT_DIR},${MASON_DIR},${DEPENDENCIES}" \ - +"luafile $1" +q + --cmd "set rtp+=${MASON_SCRIPT_DIR},${MASON_DIR}" \ + --cmd "set packpath+=${DEPENDENCIES}" \ + --cmd "packloadall" \ + --cmd "luafile $1" \ + --cmd "q" -- cgit v1.2.3-70-g09d2