mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 17:42:56 +01:00
delete old update_nvim_plugins
This commit is contained in:
parent
a251fcfc4b
commit
bc4bb61585
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
# This function updates neovim plugins.
|
||||
# This is more or less just a workaround until packer can support my exotic setup.
|
||||
|
||||
function update_nvim_plugins
|
||||
set prevdir (pwd)
|
||||
|
||||
set packdir ~/.local/share/nvim/site/pack/packer/
|
||||
cd $packdir
|
||||
|
||||
for d in (fd '\.git$' --hidden --type directory)
|
||||
cd $d/..
|
||||
# reset is needed because of compiled lua files
|
||||
git reset --hard HEAD
|
||||
git pull
|
||||
cd $packdir
|
||||
end
|
||||
|
||||
cd $prevdir
|
||||
end
|
Loading…
Reference in a new issue