aboutsummaryrefslogtreecommitdiffhomepage
path: root/sync.sh
diff options
context:
space:
mode:
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"