diff --git a/test/minvimrc b/test/minvimrc index 2a92e23..c75313c 100644 --- a/test/minvimrc +++ b/test/minvimrc @@ -4,6 +4,9 @@ set nocompatible let &rtp = '~/.vim/bundle/vim-matchup,' . &rtp let &rtp .= ',~/.vim/bundle/vim-matchup/after' +" rtp for testing files +let &rtp = '~/.vim/bundle/vim-matchup/test/rtp,' . &rtp + " load other plugins, if necessary " let &rtp = '~/path/to/other/plugin,' . &rtp diff --git a/test/rtp/ftdetect/matchuptest.vim b/test/rtp/ftdetect/matchuptest.vim new file mode 100644 index 0000000..a87d497 --- /dev/null +++ b/test/rtp/ftdetect/matchuptest.vim @@ -0,0 +1,2 @@ +autocmd BufNewFile,BufRead *.matchuptest setlocal filetype=matchuptest + diff --git a/ftplugin/matchuptest.vim b/test/rtp/ftplugin/matchuptest.vim similarity index 100% rename from ftplugin/matchuptest.vim rename to test/rtp/ftplugin/matchuptest.vim