blob: 279b2a7c54814e917b5e9743f2f6d505cfda788e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
datadir="$HOME/.local/share/nvim"
pluginsdir="$datadir/lazy"
clone() {
user="$1"
plugin="$2"
plugindir="$pluginsdir/$plugin"
[ ! -d "$plugindir" ] && git clone --filter=blob:none --single-branch "https://github.com/$user/$plugin.git" "$plugindir"
}
[ ! -d "$datadir" ] && echo "Neovim does not seem to be installed!" && exit 1
clone "folke" "lazy.nvim"
clone "rktjmp" "hotpot.nvim"
exit 0
|