diff options
| author | Jonghoon Seo <jonghoon.seo@gmail.com> | 2022-09-09 05:30:08 +0900 |
|---|---|---|
| committer | Jonghoon Seo <jonghoon.seo@gmail.com> | 2022-09-09 05:30:41 +0900 |
| commit | c1f139108af6f3b73669e1d93de0442259ab2960 (patch) | |
| tree | 15679ccc02ef31f4956c91a4d04eb30044fd6a2a /docs | |
| parent | 3bb8b224e76d5690b36ca6eb18dc9ad8f69d8c7a (diff) | |
Use node dir when already installed
Diffstat (limited to 'docs')
| -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 |
