From d132a7a673d43b2da73f75e09fbe7fb49c431514 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 9 Jul 2022 01:00:34 +0200 Subject: chore(workflow): modularize scripts and remove mason-lspconfig from CI checks (#36) --- scripts/nvim.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/nvim.sh (limited to 'scripts/nvim.sh') diff --git a/scripts/nvim.sh b/scripts/nvim.sh new file mode 100755 index 00000000..e2ac55cd --- /dev/null +++ b/scripts/nvim.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -exuo pipefail + +declare -x DEPENDENCIES="${PWD}/dependencies" +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 -- cgit v1.2.3-70-g09d2