From: John Tobin Date: Mon, 18 Mar 2019 22:39:43 +0000 (+0000) Subject: Remove user directories from runtimepath. X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/6a82597c3a04cb874b3ebe30f5e90eae8f4a8e15?ds=sidebyside 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. --- 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