neovim: update script to install sumneko_lua

--rebase might cause the update process to fail on submodules
This commit is contained in:
Hoang Nguyen 2021-10-15 00:49:35 +07:00
parent a74bba23c8
commit d8b8b179f5
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ server_path="${XDG_DATA_HOME:-$HOME/.local/share}/nvim/lsp/sumneko_lua"
# Clone / Update
if [ -d "${server_path}" ]; then
cd ${server_path}
git pull --rebase
git pull
else
git clone https://github.com/sumneko/lua-language-server.git ${server_path}
fi