We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9a0c6 commit 9691f82Copy full SHA for 9691f82
2 files changed
src/testdir/test_modeline.vim
@@ -1,9 +1,12 @@
1
" Tests for parsing the modeline.
2
3
func Test_modeline_invalid()
4
- " This was reading before allocated memory.
+ " This was reading allocated memory in the past.
5
call writefile(['vi:0', 'nothing'], 'Xmodeline')
6
+ let modeline = &modeline
7
+ set modeline
8
call assert_fails('split Xmodeline', 'E518:')
9
+ let &modeline = modeline
10
bwipe!
11
call delete('Xmodeline')
12
endfunc
src/version.c
@@ -792,6 +792,8 @@ static char *(features[]) =
792
793
static int included_patches[] =
794
{ /* Add new patch number below this line */
795
+/**/
796
+ 506,
797
/**/
798
505,
799
0 commit comments