From 81d49c26dae8e45bce7e7e6d9d7d58871978736d Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 9 Aug 2026 12:04:00 -0500 Subject: [PATCH] macos fix --- .cspell/words.txt | 2 +- common.sh | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.cspell/words.txt b/.cspell/words.txt index c319d4b..3d435e0 100644 --- a/.cspell/words.txt +++ b/.cspell/words.txt @@ -481,4 +481,4 @@ xlog xmap xvzf yapf -yaps \ No newline at end of file +yaps diff --git a/common.sh b/common.sh index aa9a4fe..0fba2e6 100755 --- a/common.sh +++ b/common.sh @@ -94,6 +94,15 @@ if ! command -v luafmt >/dev/null 2>&1; then fi check_binary luafmt +if [ "${NVIM_OS}" = "macOS" ] && + ! command -v vala-language-server >/dev/null 2>&1; then + check_binary brew + brew install vala-language-server +fi +if [ "${NVIM_OS}" = "macOS" ]; then + check_binary vala-language-server +fi + pushd "${SCRIPT_DIR}" 1>/dev/null 2>&1 || error_exit "failed to push: ${SCRIPT_DIR}" FNAME=cpptools-${NVIM_OS}-${NVIM_ARCH2}.vsix if [ ! -f "dap/${FNAME}" ]; then