aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/setup.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-09 11:46:13 +0100
committerGitHub <noreply@github.com>2018-02-09 11:46:13 +0100
commita6052c7307414045fbe2f55cd0c6a5017eb9f68e (patch)
tree1416000d6727c12a2df0f10236a09598ac6b312c /src/nvim/testdir/setup.vim
parentdc536295875640ef5d7b28d8135d0ef72d782d5e (diff)
parent7229493eb171138b850404d486ccbe2943d0c497 (diff)
downloadrneovim-a6052c7307414045fbe2f55cd0c6a5017eb9f68e.tar.gz
rneovim-a6052c7307414045fbe2f55cd0c6a5017eb9f68e.tar.bz2
rneovim-a6052c7307414045fbe2f55cd0c6a5017eb9f68e.zip
Merge #7984 'defaults: sidescroll=1'
Diffstat (limited to 'src/nvim/testdir/setup.vim')
-rw-r--r--src/nvim/testdir/setup.vim12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/nvim/testdir/setup.vim b/src/nvim/testdir/setup.vim
index 06f2199214..87cf1f6163 100644
--- a/src/nvim/testdir/setup.vim
+++ b/src/nvim/testdir/setup.vim
@@ -1,8 +1,14 @@
" Common preparations for running tests.
-set noruler
-set noshowcmd
-set belloff=
+" Align Nvim defaults to Vim.
+set sidescroll=0
+set directory^=.
+set backspace=
+set nohidden smarttab noautoindent noautoread complete-=i noruler noshowcmd
+set listchars=eol:$
+" Prevent Nvim log from writing to stderr.
+let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log'
+
" Make sure 'runtimepath' and 'packpath' does not include $HOME.
set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after