]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.1382: error when editing test file v8.1.1382
authorBram Moolenaar <Bram@vim.org>
Fri, 24 May 2019 15:33:01 +0000 (17:33 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 24 May 2019 15:33:01 +0000 (17:33 +0200)
Problem:    Error when editing test file.
Solution:   Remove part of modeline.

src/testdir/test49.in
src/testdir/test49.vim
src/testdir/test_vimscript.vim
src/version.c

index a0c9e0d3a562a33359bac508935e4554152eff54..79f13f6a56255071805e93325d8f2e09a0499566 100644 (file)
@@ -5,7 +5,7 @@ test49.failed, try to add one or more "G"s at the line ending in "test.out"
 
 STARTTEST
 :so small.vim
-:se nocp nomore viminfo+=nviminfo modelineexpr
+:se nocp nomore viminfo+=nviminfo
 :lang mess C
 :so test49.vim
 :" Go back to this file and append the results from register r.
index 97088f01e80762d33319b92ac96f2b080c57fc53..7393ec41503f293b98d2b42e24deffec3a734f3c 100644 (file)
@@ -1,6 +1,6 @@
 " Vim script language tests
 " Author:      Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com>
-" Last Change: 2019 Jan 13
+" Last Change: 2019 May 24
 
 "-------------------------------------------------------------------------------
 " Test environment                                                         {{{1
@@ -9005,5 +9005,4 @@ Xcheck 50443995
 "-------------------------------------------------------------------------------
 " Modelines                                                                {{{1
 " vim: ts=8 sw=4 tw=80 fdm=marker
-" vim: fdt=substitute(substitute(foldtext(),\ '\\%(^+--\\)\\@<=\\(\\s*\\)\\(.\\{-}\\)\:\ \\%(\"\ \\)\\=\\(Test\ \\d*\\)\:\\s*',\ '\\3\ (\\2)\:\ \\1',\ \"\"),\ '\\(Test\\s*\\)\\(\\d\\)\\D\\@=',\ '\\1\ \\2',\ "")
 "-------------------------------------------------------------------------------
index 3eb47a8ab4a2bf020cb70fb3aad67cc5666bbc89..39ee0bfeec89032fe30cdab7c7ba05c2f11bdcf0 100644 (file)
@@ -1668,5 +1668,4 @@ endfunc
 "-------------------------------------------------------------------------------
 " Modelines                                                                {{{1
 " vim: ts=8 sw=4 tw=80 fdm=marker
-" vim: fdt=substitute(substitute(foldtext(),\ '\\%(^+--\\)\\@<=\\(\\s*\\)\\(.\\{-}\\)\:\ \\%(\"\ \\)\\=\\(Test\ \\d*\\)\:\\s*',\ '\\3\ (\\2)\:\ \\1',\ \"\"),\ '\\(Test\\s*\\)\\(\\d\\)\\D\\@=',\ '\\1\ \\2',\ "")
 "-------------------------------------------------------------------------------
index 2401cc2a8c0f95c9b1a9fdf116620c770d90012b..b5cee8ead17629d06ce610b4a6f162b2216e3d4c 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1382,
 /**/
     1381,
 /**/