Files
vim-matchup/test/vader/minvimrc
2021-02-26 00:08:19 -05:00

39 lines
782 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 has('nvim-0.5.0')
let &rtp = s:path.'/test/vader/plugged/nvim-treesitter,' . &rtp
let &rtp .= ','.s:path.'/test/vader/plugged/nvim-treesitter/after'
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