fix missing eslint
This commit is contained in:
1 parent
53d06709b2
commit
85d93d2994
1 file changed
+5
@@ -97,6 +97,11 @@ for BINARY in "${NVIM_REQUIRED_BINARIES[@]}"; do
|
|||||||
check_binary "$BINARY"
|
check_binary "$BINARY"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if ! command -v eslint >/dev/null 2>&1; then
|
||||||
|
npm install --global --prefix "${HOME}/.local" eslint
|
||||||
|
fi
|
||||||
|
check_binary eslint
|
||||||
|
|
||||||
if ! command -v luafmt >/dev/null 2>&1; then
|
if ! command -v luafmt >/dev/null 2>&1; then
|
||||||
npm install --global --prefix "${HOME}/.local" lua-fmt
|
npm install --global --prefix "${HOME}/.local" lua-fmt
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user