diff --git a/default.conf.yaml b/default.conf.yaml index 5107911..f085394 100644 --- a/default.conf.yaml +++ b/default.conf.yaml @@ -32,3 +32,6 @@ ~/.zprofile: zsh/.zprofile ~/.zshenv: zsh/.zshenv ~/.zshrc: zsh/.zshrc + +- shell: + - ./neovim/postinstall diff --git a/neovim/pluginstall.vim b/neovim/pluginstall.vim new file mode 100644 index 0000000..4ef5e3b --- /dev/null +++ b/neovim/pluginstall.vim @@ -0,0 +1,2 @@ +:PlugInstall +:xa diff --git a/neovim/postinstall b/neovim/postinstall new file mode 100755 index 0000000..96863eb --- /dev/null +++ b/neovim/postinstall @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -euo pipefail + +CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +nvim --headless -s "${CURDIR}/pluginstall.vim"