Add basic neovim startup check

pull/2/head
Ensar Sarajčić 2022-04-28 16:58:00 +02:00
parent c519ad885e
commit 43980822f7
2 changed files with 17 additions and 2 deletions

View File

@ -18,6 +18,14 @@ jobs:
run: make bootstrap
env:
DOTFILES_CI: 1
- name: Install neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
- name: Run neovim checks
run: make nvim_check
env:
DOTFILES_CI: 1
create-key:
strategy:
matrix:

View File

@ -262,8 +262,8 @@ install_brew_basics: homebrew check_os
.PHONY: install_asdf
install_asdf: check_os
@echo "Installing ASDF VM..."
@git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.0
@echo "Installed ASDF Version 0.8.0"
@git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0
@echo "Installed ASDF Version 0.10.0"
@echo "To install latest version:"
@echo ""
@echo "cd ~/.asdf"
@ -312,6 +312,13 @@ install_vim: check_os link_vim
@echo "For NeoVim: :PackerInstall"
@echo "For Vim: :PlugInstall"
.PHONY: check_neovim
check_neovim: check_os
@echo "Running vim config basic test"
@FORCE_PACKER_INSTALL=1 nvim --headless -c 'autocmd User PackerComplete quitall'
@nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerInstall'
@nvim --headless -c 'quitall'
.PHONY: oh_my_zsh
oh_my_zsh: check_os
@echo "Installing oh-my-zsh..."