Test on neovim

This commit is contained in:
Andy K. Massimino
2019-01-04 08:13:58 -05:00
parent e3016e0ca0
commit 226db10f7f
2 changed files with 6 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ stages:
- test
before_script:
- apk update; apk add git bash
- apk update; apk add git bash neovim
- git clone --depth=1 https://github.com/junegunn/vader.vim.git test/vader/vader.vim
test-latest:
@@ -27,3 +27,7 @@ test-7.4.2273:
entrypoint: [""]
script: bash test/vader/run
test-neovim:
stage: test
script: bash -c 'VIMCMD=nvim test/vader/run'

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE[0]}")"
vim -es -Nu minvimrc +"Vader! ${1:-*}"
${VIMCMD:-vim} -es -Nu minvimrc +"Vader! ${1:-*}"