Files
vim-matchup/test/new/common/bootstrap.vim
Andy K. Massimino fc03e1982a Fix TS nvim test
2022-05-03 23:06:56 -04:00

32 lines
691 B
VimL

set packpath-=~/.vim packpath-=~/.vim/after
set packpath-=~/.config/nvim packpath-=~/.config/nvim/after
let &rtp = '../../..,' . &rtp
let &rtp = &rtp . ',../../../after'
if $TESTS_ENABLE_TREESITTER
let s:path = simplify(expand('<sfile>:h').'/../../..')
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
runtime! plugin/nvim-treesitter.{vim,lua}
endif
filetype plugin indent on
syntax enable
set notimeout
let g:matchup_override_vimtex = 1
runtime! plugin/matchup.vim
nnoremap q :qall!<cr>