1
0
Fork 0

nvim: Install plugins as a post-install hook

This commit is contained in:
Jeremy Kaplan 2021-04-19 20:03:49 -07:00
commit 9dd750694b
3 changed files with 12 additions and 0 deletions

View file

@ -32,3 +32,6 @@
~/.zprofile: zsh/.zprofile
~/.zshenv: zsh/.zshenv
~/.zshrc: zsh/.zshrc
- shell:
- ./neovim/postinstall

2
neovim/pluginstall.vim Normal file
View file

@ -0,0 +1,2 @@
:PlugInstall
:xa

7
neovim/postinstall Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
nvim --headless -s "${CURDIR}/pluginstall.vim"