mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
Test fix 220525 (#226)
* Try to fix TS test * Fix gitlab ci yaml * Fix gitlab ci syntax 2
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
stages:
|
||||
- test
|
||||
- gen_coverage
|
||||
@@ -81,7 +82,9 @@ coverage:
|
||||
script: cd ./test/new && make -j1 coverage
|
||||
artifacts:
|
||||
reports:
|
||||
cobertura: ./test/new/coverage.xml
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: ./test/new/coverage.xml
|
||||
paths:
|
||||
- ./test/new/htmlcov
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@ if $TESTS_ENABLE_TREESITTER
|
||||
let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp
|
||||
let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after'
|
||||
|
||||
runtime! plugin/nvim-treesitter.vim
|
||||
runtime! plugin/nvim-treesitter.lua
|
||||
|
||||
lua <<EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
matchup = {
|
||||
@@ -15,8 +18,6 @@ if $TESTS_ENABLE_TREESITTER
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
runtime! plugin/nvim-treesitter.{vim,lua}
|
||||
endif
|
||||
|
||||
filetype plugin indent on
|
||||
|
||||
@@ -16,6 +16,9 @@ if $TESTS_ENABLE_TREESITTER
|
||||
let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp
|
||||
let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after'
|
||||
|
||||
runtime! plugin/nvim-treesitter.vim
|
||||
runtime! plugin/nvim-treesitter.lua
|
||||
|
||||
lua <<EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
matchup = {
|
||||
|
||||
Reference in New Issue
Block a user