mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-28 18:28:35 -05:00
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
|
# Clone / Update
|
||||||
if [ -d "${server_path}" ]; then
|
if [ -d "${server_path}" ]; then
|
||||||
cd ${server_path}
|
cd ${server_path}
|
||||||
git pull --rebase
|
git pull
|
||||||
else
|
else
|
||||||
git clone https://github.com/sumneko/lua-language-server.git ${server_path}
|
git clone https://github.com/sumneko/lua-language-server.git ${server_path}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user