From b9a46fec3e79d1fc8c406084a41733c647a5e535 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 29 Jul 2016 18:13:42 +0200 Subject: patch 7.4.2115 Problem: Loading defaults.vim with -C argument. Solution: Don't load the defaults script with -C argument. Test sourcing the defaults script. Set 'display' to "truncate". --- src/testdir/test_startup.vim | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/testdir/test_startup.vim (limited to 'src/testdir/test_startup.vim') diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim new file mode 100644 index 000000000..0630b2a84 --- /dev/null +++ b/src/testdir/test_startup.vim @@ -0,0 +1,8 @@ +" Check that loading startup.vim works. + +func Test_startup_script() + set compatible + source $VIMRUNTIME/defaults.vim + + call assert_equal(0, &compatible) +endfunc -- cgit v1.2.1