From 030f1d181cee639691ffe6dd084522ccb3852d7c Mon Sep 17 00:00:00 2001 From: "Andy K. Massimino" Date: Sun, 11 Mar 2018 18:32:59 -0400 Subject: [PATCH] Move testing ftplugin to test directory tree --- test/minvimrc | 3 +++ test/rtp/ftdetect/matchuptest.vim | 2 ++ {ftplugin => test/rtp/ftplugin}/matchuptest.vim | 0 3 files changed, 5 insertions(+) create mode 100644 test/rtp/ftdetect/matchuptest.vim rename {ftplugin => test/rtp/ftplugin}/matchuptest.vim (100%) 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