From 6a82597c3a04cb874b3ebe30f5e90eae8f4a8e15 Mon Sep 17 00:00:00 2001 From: John Tobin Date: Mon, 18 Mar 2019 22:39:43 +0000 Subject: [PATCH 1/1] Remove user directories from runtimepath. The default value of runtimepath includes ~/.vim and ~/.vim/after. Configuration in those directories can interfere with tests. Remove those directories from runtimepath to make the tests hermetic. --- test/vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/vimrc b/test/vimrc index fe53a75..638ab3f 100644 --- a/test/vimrc +++ b/test/vimrc @@ -4,6 +4,8 @@ set rtp+=../build/tabular/ set rtp+=../build/vim-toml/ set rtp+=../build/vim-json/ set rtp+=../build/vader.vim/ +set rtp-=~/.vim +set rtp-=~/.vim/after let $LANG='en_US' filetype on filetype plugin on -- 2.39.2