Files
vim-matchup/test/vader/minvimrc
Andy Massimino ecf6f16bfa Test fix 220525 (#226)
* Try to fix TS test

* Fix gitlab ci yaml

* Fix gitlab ci syntax 2
2022-05-25 22:08:52 -04:00

42 lines
866 B
Plaintext

set nocompatible
" load match-up
let s:path = simplify(expand('<sfile>:h').'/../..')
let &rtp = s:path.',' . &rtp
let &rtp .= ','.s:path.'/test/vader/vader.vim'
let &rtp .= ','.s:path.'/after'
" rtp for testing files
let &rtp = s:path.'/test/rtp,' . &rtp
" load other plugins, if necessary
" let &rtp = '~/path/to/other/plugin,' . &rtp
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 = {
enable = true
}
}
EOF
endif
if empty(globpath(&rtp, 'plugin/vader.vim'))
echoerr 'vader not found'
exit!
endif
filetype plugin indent on
syntax enable
set notimeout
" match-up options go here