1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Use node dir when already installed

This commit is contained in:
Jonghoon Seo 2022-09-09 05:30:08 +09:00
parent 3bb8b224e7
commit c1f139108a

View File

@ -112,6 +112,7 @@ if [[ -z "$(command -v node)" ]]; then
fi fi
else else
echo "Node.js is already installed. Skip installing it." echo "Node.js is already installed. Skip installing it."
NODE_DIR="$(realpath $(dirname $(which node))/..)"
fi fi
# Install vim-language-server # Install vim-language-server