switch back to luafmt

This commit is contained in:
sgraves committed 2026-07-30 22:35:56 -05:00
1 parent e1868fd70e
commit 9b1e60358e
4 files changed
+15 -30

No files matched your search

+7
View File
@@ -82,10 +82,17 @@ function check_binary() {
fi
}
export PATH="${HOME}/.local/bin:${PATH}"
for BINARY in "${NVIM_REQUIRED_BINARIES[@]}"; do
check_binary "$BINARY"
done
if ! command -v luafmt >/dev/null 2>&1; then
npm install --global --prefix "${HOME}/.local" lua-fmt
fi
check_binary luafmt
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