neovim: update script to install sumneko_lua
--rebase might cause the update process to fail on submodules
This commit is contained in:
parent
a74bba23c8
commit
d8b8b179f5
|
@ -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
|
||||
|
|
Reference in New Issue