Skip to content

Commit 4947f60

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents d47b18e + 84be8b6 commit 4947f60

File tree

4 files changed

+11
-27
lines changed

4 files changed

+11
-27
lines changed

src/testdir/Make_ming.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ test_gui.res: test_gui.vim
129129

130130
test_gui_init.res: test_gui_init.vim
131131
@echo "$(VIMPROG)" > vimcmd
132-
$(VIMPROG) -u gui_preinit_vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $<
132+
$(VIMPROG) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $<
133133
@$(DEL) vimcmd
134134

135135
opt_test.vim: ../option.c gen_opt_test.vim

src/testdir/test_charsearch_utf8.vim

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,3 @@ function! Test_search_cmds()
2020
endfunction
2121

2222
" vim: shiftwidth=2 sts=2 expandtab
23-
" Tests for related f{char} and t{char} using utf-8.
24-
if !has('multi_byte')
25-
finish
26-
endif
27-
28-
" Test for t,f,F,T movement commands
29-
function! Test_search_cmds()
30-
new!
31-
call setline(1, "・最初から最後まで最強のVimは最高")
32-
1
33-
normal! f
34-
call assert_equal([0, 1, 4, 0], getpos('.'))
35-
normal! ;
36-
call assert_equal([0, 1, 16, 0], getpos('.'))
37-
normal! 2;
38-
call assert_equal([0, 1, 43, 0], getpos('.'))
39-
normal! ,
40-
call assert_equal([0, 1, 28, 0], getpos('.'))
41-
bw!
42-
endfunction
43-
44-
" vim: shiftwidth=2 sts=2 expandtab

src/testdir/test_functions.vim

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,15 +313,18 @@ endfunc
313313

314314
" Tests for the mode() function
315315
let current_modes = ''
316-
func! Save_mode()
316+
func Save_mode()
317317
let g:current_modes = mode(0) . '-' . mode(1)
318318
return ''
319319
endfunc
320320

321-
func! Test_mode()
321+
func Test_mode()
322322
new
323323
call append(0, ["Blue Ball Black", "Brown Band Bowl", ""])
324324

325+
" Only complete from the current buffer.
326+
set complete=.
327+
325328
inoremap <F2> <C-R>=Save_mode()<CR>
326329
327330
normal! 3G
@@ -430,6 +433,7 @@ func! Test_mode()
430433

431434
bwipe!
432435
iunmap <F2>
436+
set complete&
433437
endfunc
434438

435439
func Test_getbufvar()

src/version.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,10 @@ static char *(features[]) =
779779

780780
static int included_patches[] =
781781
{ /* Add new patch number below this line */
782+
/**/
783+
456,
784+
/**/
785+
455,
782786
/**/
783787
454,
784788
/**/
@@ -797,8 +801,6 @@ static int included_patches[] =
797801
447,
798802
/**/
799803
446,
800-
/**/
801-
446,
802804
/**/
803805
445,
804806
/**/

0 commit comments

Comments
 (0)