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