Skip to content

Commit

Permalink
Remove neovim from test matrix
Browse files Browse the repository at this point in the history
...as vimrunner and neovim are not compatible
  • Loading branch information
LucHermitte committed Aug 24, 2024
1 parent cda5d9d commit 2c93070
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
# cannot be read...
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
neovim: [false, true]
neovim: [false]
# neovim: [false, true]
# TODO: Test different flavours of Vim...

runs-on: ${{ matrix.os }}
Expand Down
8 changes: 4 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ def runtime(script)

module Platform
# For tests use in order of priority:
# 1. neovim -- when installed
# 2. gvim -- when available
# 3. vim -- if possible
# 1. gvim -- when available
# 2. vim -- if possible
# nvim is not compatible with vimrunner, let's ignore it now
def best_vim
prefered_vims.find { |vim| suitable?(vim) } or raise NoSuitableVimError
end
private

def prefered_vims
%w( nvim ) + gvims + %w( vim )
gvims + %w( vim )
end
end

Expand Down

0 comments on commit 2c93070

Please sign in to comment.