1
0
forked from aniani/vim

patch 7.4.2084

Problem:    New digraph test makes testing hang.
Solution:   Don't set "nocp".
This commit is contained in:
Bram Moolenaar
2016-07-20 22:23:49 +02:00
parent 19df5cc04d
commit 6008433381
2 changed files with 9 additions and 5 deletions

View File

@@ -4,6 +4,8 @@ if !has("digraphs") || !has("multi_byte")
finish
endif
scriptencoding utf-8
func! Put_Dig(chars)
exe "norm! o\<c-k>".a:chars
endfu
@@ -14,7 +16,7 @@ endfu
func! Test_digraphs()
let _enc = &enc
set nocp enc=utf8
set enc=utf8
new
call Put_Dig("00")
call assert_equal("∞", getline('.'))
@@ -222,7 +224,7 @@ func! Test_digraphs_option()
let _enc=&enc
" reset whichwrap option, so that testing <esc><bs>A works,
" without moving up a line
set nocp enc=utf8 digraph ww=
set enc=utf8 digraph ww=
new
call Put_Dig_BS("0","0")
call assert_equal("∞", getline('.'))

View File

@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2084,
/**/
2083,
/**/