mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
32 lines
691 B
VimL
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>
|