diff options
| author | jdhao <jdhao@hotmail.com> | 2022-09-09 19:15:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-09 19:15:02 +0800 |
| commit | bde6083f22db15e26b78637d36e7391cf3815d02 (patch) | |
| tree | 15679ccc02ef31f4956c91a4d04eb30044fd6a2a | |
| parent | 3bb8b224e76d5690b36ca6eb18dc9ad8f69d8c7a (diff) | |
| parent | c1f139108af6f3b73669e1d93de0442259ab2960 (diff) | |
Merge pull request #99 from jonghoonseo/master
Use node dir when already installed
| -rwxr-xr-x | docs/nvim_setup_linux.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/nvim_setup_linux.sh b/docs/nvim_setup_linux.sh index ed051c8..7ca20ee 100755 --- a/docs/nvim_setup_linux.sh +++ b/docs/nvim_setup_linux.sh @@ -112,6 +112,7 @@ if [[ -z "$(command -v node)" ]]; then fi else echo "Node.js is already installed. Skip installing it." + NODE_DIR="$(realpath $(dirname $(which node))/..)" fi # Install vim-language-server |
