mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
vim-patch:8.0.0806: tests may try to create XfakeHOME twice
Problem: Tests may try to create XfakeHOME twice.
Solution: Avoid loading setup.vim twice.
f98246d484
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
" Common preparations for running tests.
|
" Common preparations for running tests.
|
||||||
|
|
||||||
|
" Only load this once.
|
||||||
|
if exists('s:did_load')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let s:did_load = 1
|
||||||
|
|
||||||
" Align Nvim defaults to Vim.
|
" Align Nvim defaults to Vim.
|
||||||
set sidescroll=0
|
set sidescroll=0
|
||||||
set directory^=.
|
set directory^=.
|
||||||
|
Reference in New Issue
Block a user