diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 426331ee8..182efc125 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -92,14 +92,15 @@ jobs: if [ "$VIM_BIN" = "nvim" ]; then export PATH="${DEPS}/_neovim/${VIM_TAG}/bin:${PATH}" export VIM="${DEPS}/_neovim/${VIM_TAG}/share/nvim/runtime" + export VIM_Es="--headless" else export PATH="${DEPS}/_vim/${VIM_TAG}/bin:${PATH}" export VIM="${DEPS}/_vim/${VIM_TAG}/share/vim" - fi - if [ "$DISABLE_ES" = "true" ]; then - export VIM_Es="" - else - export VIM_Es="-Es" + if [ "$DISABLE_ES" = "true" ]; then + export VIM_Es="" + else + export VIM_Es="-Es" + fi fi export PATH="/home/runner/.local/bin:${PATH}" echo "\$PATH: \"${PATH}\"" diff --git a/test/plugin/flygrep.vader b/test/plugin/flygrep.vader index 0d100b417..6c5a9b71f 100644 --- a/test/plugin/flygrep.vader +++ b/test/plugin/flygrep.vader @@ -8,11 +8,13 @@ Execute ( SpaceVim plugin: flygrep ): let g:_spacevim_input_timeout = 0 let lnr = 0 let current_line = line('.') + Log getline('.') for line in readfile('Makefile') let lnr += 1 if line =~# 'COVIMERAGE' break endif endfor + Log 'lnr is:' . lnr AssertEqual lnr, current_line unlet lnr line current_line