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:
parent
3bb8b224e7
commit
c1f139108a
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user