aboutsummaryrefslogtreecommitdiffhomepage
path: root/sync.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-04-06 03:03:32 +0900
committernsfisis <nsfisis@gmail.com>2023-04-06 03:21:04 +0900
commit53c029d76b75ccf1010720009b4a68c5b9e4ba70 (patch)
tree3c6d6b000cbb40862d36d3368ca765ca49569d06 /sync.sh
parent86a6f322b70ac5f3a40e5f84b53d0b05dacd3028 (diff)
downloaddotfiles-53c029d76b75ccf1010720009b4a68c5b9e4ba70.tar.gz
dotfiles-53c029d76b75ccf1010720009b4a68c5b9e4ba70.tar.zst
dotfiles-53c029d76b75ccf1010720009b4a68c5b9e4ba70.zip
neovim: migrate package manager from packer.nvim to lazy.nvim
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/sync.sh b/sync.sh
index 1fdb9e3..873a99c 100755
--- a/sync.sh
+++ b/sync.sh
@@ -12,21 +12,6 @@ fi
# Synchronize current settings. {{{1
-# Neovim {{{2
-if type nvim >/dev/null 2>&1; then
- packer_nvim_dir="${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/packer/opt/packer.nvim
- nvim_conf_dir="${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
- if [ -d "$packer_nvim_dir" -a -d "$nvim_conf_dir" ]; then
- echo "neovim: compile"
- if [ -f "$nvim_conf_dir/plugin/packer_compiled.lua" ]; then
- rm -f "$nvim_conf_dir/plugin/packer_compiled.lua"
- fi
- nvim --headless -u "$nvim_conf_dir/init.mini.lua" -c 'autocmd User PackerCompileDone quitall' -c 'PackerCompile'
- echo "neovim: sync"
- nvim --headless -u "$nvim_conf_dir/init.mini.lua" -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
- fi
-fi
-
# Bat {{{2
if type bat >/dev/null 2>&1; then
echo "bat: rebuild cache"