diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-24 17:59:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-24 17:59:39 +0100 |
commit | 30276f2beb248557c6b33cd5418bca8b7084b0a5 (patch) | |
tree | 56f7b88712a5ffffdd10681983e70501e2e1ba58 /src | |
parent | 264b74fa545edfb92c0d7d08a02c26331cc5b168 (diff) |
patch 8.1.0811: too many #ifdefsv8.1.0811
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
Diffstat (limited to 'src')
54 files changed, 122 insertions, 325 deletions
diff --git a/src/appveyor.bat b/src/appveyor.bat index 761f9b8908..f64a05ef2a 100644 --- a/src/appveyor.bat +++ b/src/appveyor.bat @@ -7,7 +7,7 @@ cd %APPVEYOR_BUILD_FOLDER% cd src echo "Building MinGW 32bit console version" set PATH=c:\msys64\mingw32\bin;%PATH% -mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 +mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 :: Save vim.exe before Make clean, moved back below. copy vim.exe testdir mingw32-make.exe -f Make_ming.mak clean @@ -16,24 +16,24 @@ mingw32-make.exe -f Make_ming.mak clean :: with specified features without python. echo "Building MinGW 32bit GUI version" if "%FEATURE%" == "HUGE" ( - mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed CHANNEL=yes GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35 FEATURES=%FEATURE% || exit 1 + mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed CHANNEL=yes GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35 FEATURES=%FEATURE% || exit 1 ) ELSE ( - mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 + mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 ) .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt echo "Building MSVC 64bit console Version" sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak -nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 +nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 nmake -f Make_mvc2.mak clean :: build MSVC huge version with python and channel support :: GUI needs to be last, so that testing works echo "Building MSVC 64bit GUI Version" if "%FEATURE%" == "HUGE" ( - nmake -f Make_mvc2.mak DIRECTX=yes CPU=AMD64 CHANNEL=yes OLE=no GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 FEATURES=%FEATURE% || exit 1 + nmake -f Make_mvc2.mak DIRECTX=yes CPU=AMD64 CHANNEL=yes OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 FEATURES=%FEATURE% || exit 1 ) ELSE ( - nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 + nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 ) .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt diff --git a/src/auto/configure b/src/auto/configure index 0431addf0f..a3302d2857 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -7937,10 +7937,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_multibyte" >&5 $as_echo "$enable_multibyte" >&6; } -if test "$enable_multibyte" = "yes"; then - $as_echo "#define FEAT_MBYTE 1" >>confdefs.h - -else +if test "$enable_multibyte" != "yes"; then as_fn_error $? "The multi-byte feature can no longer be disabled. If you have a problem with this, discuss on the Vim mailing list." "$LINENO" 5 fi diff --git a/src/config.h.in b/src/config.h.in index 9a7ba51efc..e13cc635f6 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -387,9 +387,6 @@ /* Define if you want to include the Cscope interface. */ #undef FEAT_CSCOPE -/* Define if you want to include multibyte support. */ -#undef FEAT_MBYTE - /* Define if you don't want to include right-left support. */ #undef DISABLE_RIGHTLEFT diff --git a/src/configure.ac b/src/configure.ac index 2dcfe46cb3..e5525eaa63 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -2124,9 +2124,7 @@ AC_ARG_ENABLE(multibyte, [ --enable-multibyte Include multibyte editing support.], , [enable_multibyte="yes"]) AC_MSG_RESULT($enable_multibyte) -if test "$enable_multibyte" = "yes"; then - AC_DEFINE(FEAT_MBYTE) -else +if test "$enable_multibyte" != "yes"; then AC_MSG_ERROR([The multi-byte feature can no longer be disabled. If you have a problem with this, discuss on the Vim mailing list.]) fi diff --git a/src/crypt_zip.c b/src/crypt_zip.c index e50fa6b1c5..ed17d956b0 100644 --- a/src/crypt_zip.c +++ b/src/crypt_zip.c @@ -24,11 +24,7 @@ */ /* Need a type that should be 32 bits. 64 also works but wastes space. */ -# if VIM_SIZEOF_INT >= 4 typedef unsigned int u32_T; /* int is at least 32 bits */ -# else -typedef unsigned long u32_T; /* long should be 32 bits or more */ -# endif /* The state of encryption, referenced by cryptstate_T. */ typedef struct { diff --git a/src/feature.h b/src/feature.h index 59fcf785e5..81b432db03 100644 --- a/src/feature.h +++ b/src/feature.h @@ -286,7 +286,7 @@ * * Disabled for EBCDIC as it requires multibyte. */ -#if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && VIM_SIZEOF_INT >= 4 && !defined(EBCDIC) +#if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && !defined(EBCDIC) # define FEAT_ARABIC #endif #ifdef FEAT_ARABIC @@ -600,21 +600,14 @@ * +multi_byte Generic multi-byte character handling. * Now always enabled. */ -#if !defined(FEAT_MBYTE) -# define FEAT_MBYTE -#endif -#if VIM_SIZEOF_INT < 4 && !defined(PROTO) - Error: Vim only works with 32 bit int or larger -#endif /* Define this if you want to use 16 bit Unicode only, reduces memory used for * the screen structures. */ /* #define UNICODE16 */ /* - * +multi_byte_ime Win32 IME input method. Requires +multi_byte. - * Only for far-east Windows, so IME can be used to input - * chars. Not tested much! + * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so + * IME can be used to input chars. Not tested much! */ #if defined(FEAT_GUI_W32) && !defined(FEAT_MBYTE_IME) /* #define FEAT_MBYTE_IME */ diff --git a/src/fileio.c b/src/fileio.c index aa84e9bb48..4cb13f27a5 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1178,10 +1178,9 @@ retry: */ if (!skip_read) { -#if VIM_SIZEOF_INT > 2 -# if defined(SSIZE_MAX) && (SSIZE_MAX < 0x10000L) +#if defined(SSIZE_MAX) && (SSIZE_MAX < 0x10000L) size = SSIZE_MAX; /* use max I/O size, 52K */ -# else +#else /* Use buffer >= 64K. Add linerest to double the size if the * line gets very long, to avoid a lot of copying. But don't * read more than 1 Mbyte at a time, so we can be interrupted. @@ -1189,20 +1188,11 @@ retry: size = 0x10000L + linerest; if (size > 0x100000L) size = 0x100000L; -# endif -#else - size = 0x7ff0L - linerest; /* limit buffer to 32K */ #endif } /* Protect against the argument of lalloc() going negative. */ - if ( -#if VIM_SIZEOF_INT <= 2 - linerest >= 0x7ff0 -#else - size < 0 || size + linerest + 1 < 0 || linerest >= MAXCOL -#endif - ) + if (size < 0 || size + linerest + 1 < 0 || linerest >= MAXCOL) { ++split; *ptr = NL; /* split line by inserting a NL */ diff --git a/src/message.c b/src/message.c index c5d48f229c..063fadae4a 100644 --- a/src/message.c +++ b/src/message.c @@ -4492,14 +4492,10 @@ vim_vsnprintf_typval( { /* Don't put the #if inside memchr(), it can be a * macro. */ -# if VIM_SIZEOF_INT <= 2 - char *q = memchr(str_arg, '\0', precision); -# else /* memchr on HP does not like n > 2^31 !!! */ char *q = memchr(str_arg, '\0', precision <= (size_t)0x7fffffffL ? precision : (size_t)0x7fffffffL); -# endif str_arg_l = (q == NULL) ? precision : (size_t)(q - str_arg); } diff --git a/src/os_macosx.m b/src/os_macosx.m index 50ca361fbb..3b5c35adb9 100644 --- a/src/os_macosx.m +++ b/src/os_macosx.m @@ -130,18 +130,14 @@ clip_mch_request_selection(VimClipboard *cbd) char_u *str = (char_u*)[string UTF8String]; int len = [string lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; -#ifdef FEAT_MBYTE if (input_conv.vc_type != CONV_NONE) str = string_convert(&input_conv, str, &len); -#endif if (str) clip_yank_selection(motion_type, str, len, cbd); -#ifdef FEAT_MBYTE if (input_conv.vc_type != CONV_NONE) vim_free(str); -#endif releasepool: [pool release]; @@ -169,7 +165,6 @@ clip_mch_set_selection(VimClipboard *cbd) /* TODO: Avoid overflow. */ int len = (int)llen; -#ifdef FEAT_MBYTE if (output_conv.vc_type != CONV_NONE) { char_u *conv_str = string_convert(&output_conv, str, &len); @@ -179,7 +174,6 @@ clip_mch_set_selection(VimClipboard *cbd) str = conv_str; } } -#endif if (len > 0) { diff --git a/src/spell.h b/src/spell.h index 18c96446c2..085f18c216 100644 --- a/src/spell.h +++ b/src/spell.h @@ -38,11 +38,7 @@ /* Type used for indexes in the word tree need to be at least 4 bytes. If int * is 8 bytes we could use something smaller, but what? */ -#if VIM_SIZEOF_INT > 3 typedef int idx_T; -#else -typedef long idx_T; -#endif typedef int salfirst_T; diff --git a/src/structs.h b/src/structs.h index 3216c580cc..e25ae17386 100644 --- a/src/structs.h +++ b/src/structs.h @@ -416,12 +416,8 @@ struct u_header /* * structures used in undo.c */ -#if VIM_SIZEOF_INT > 2 -# define ALIGN_LONG /* longword alignment and use filler byte */ -# define ALIGN_SIZE (sizeof(long)) -#else -# define ALIGN_SIZE (sizeof(short)) -#endif +#define ALIGN_LONG /* longword alignment and use filler byte */ +#define ALIGN_SIZE (sizeof(long)) #define ALIGN_MASK (ALIGN_SIZE - 1) @@ -1229,19 +1225,11 @@ typedef unsigned long uvarnumber_T; # endif #else /* Use 32-bit Number. */ -# if VIM_SIZEOF_INT <= 3 /* use long if int is smaller than 32 bits */ -typedef long varnumber_T; -typedef unsigned long uvarnumber_T; -#define VARNUM_MIN LONG_MIN -#define VARNUM_MAX LONG_MAX -#define UVARNUM_MAX ULONG_MAX -# else typedef int varnumber_T; typedef unsigned int uvarnumber_T; #define VARNUM_MIN INT_MIN #define VARNUM_MAX INT_MAX #define UVARNUM_MAX UINT_MAX -# endif #endif typedef double float_T; diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index a8b43aaed9..3f49ccb1cb 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -49,13 +49,9 @@ source setup.vim " This also enables use of line continuation. set nocp viminfo+=nviminfo -" Use utf-8 or latin1 by default, instead of whatever the system default -" happens to be. Individual tests can overrule this at the top of the file. -if has('multi_byte') - set encoding=utf-8 -else - set encoding=latin1 -endif +" Use utf-8 by default, instead of whatever the system default happens to be. +" Individual tests can overrule this at the top of the file. +set encoding=utf-8 " REDIR_TEST_TO_NULL has a very permissive SwapExists autocommand which is for " the test_name.vim file itself. Replace it here with a more restrictive one, diff --git a/src/testdir/test_alot_utf8.vim b/src/testdir/test_alot_utf8.vim index 648d806a94..be0bd01413 100644 --- a/src/testdir/test_alot_utf8.vim +++ b/src/testdir/test_alot_utf8.vim @@ -2,8 +2,7 @@ " This makes testing go faster, since Vim doesn't need to restart. " These tests use utf8 'encoding'. Setting 'encoding' is already done in -" runtest.vim. Checking for the multi_byte feature is in the individual -" files, so that they can be run by themselves. +" runtest.vim. source test_charsearch_utf8.vim source test_expr_utf8.vim diff --git a/src/testdir/test_arabic.vim b/src/testdir/test_arabic.vim index 17e925ee7f..bc31db7e7c 100644 --- a/src/testdir/test_arabic.vim +++ b/src/testdir/test_arabic.vim @@ -2,7 +2,7 @@ " NOTE: This just checks if the code works. If you know Arabic please add " functional tests that check the shaping works with real text. -if !has('arabic') || !has('multi_byte') +if !has('arabic') finish endif diff --git a/src/testdir/test_charsearch_utf8.vim b/src/testdir/test_charsearch_utf8.vim index 399ac51c48..82a807ac5b 100644 --- a/src/testdir/test_charsearch_utf8.vim +++ b/src/testdir/test_charsearch_utf8.vim @@ -1,7 +1,4 @@ " Tests for related f{char} and t{char} using utf-8. -if !has('multi_byte') - finish -endif " Test for t,f,F,T movement commands func Test_search_cmds() diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 9a4ccd11d5..4dcda858e8 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -582,7 +582,7 @@ func Test_setcmdpos() endfunc func Test_cmdline_overstrike() - let encodings = has('multi_byte') ? [ 'latin1', 'utf8' ] : [ 'latin1' ] + let encodings = ['latin1', 'utf8'] let encoding_save = &encoding for e in encodings @@ -601,11 +601,9 @@ func Test_cmdline_overstrike() call assert_equal('"ab0cd3ef4', @:) endfor - if has('multi_byte') - " Test overstrike with multi-byte characters. - call feedkeys(":\"テキストエディタ\<home>\<right>\<right>ab\<right>\<insert>cd\<enter>", 'xt') - call assert_equal('"テabキcdエディタ', @:) - endif + " Test overstrike with multi-byte characters. + call feedkeys(":\"テキストエディタ\<home>\<right>\<right>ab\<right>\<insert>cd\<enter>", 'xt') + call assert_equal('"テabキcdエディタ', @:) let &encoding = encoding_save endfunc diff --git a/src/testdir/test_digraph.vim b/src/testdir/test_digraph.vim index d5b0a7b72e..8d56a1a247 100644 --- a/src/testdir/test_digraph.vim +++ b/src/testdir/test_digraph.vim @@ -1,6 +1,6 @@ " Tests for digraphs -if !has("digraphs") || !has("multi_byte") +if !has("digraphs") finish endif @@ -466,9 +466,6 @@ func Test_show_digraph() endfunc func Test_show_digraph_cp1251() - if !has('multi_byte') - return - endif new set encoding=cp1251 call Put_Dig("='") diff --git a/src/testdir/test_display.vim b/src/testdir/test_display.vim index e0e3e3b54c..81ffb2c944 100644 --- a/src/testdir/test_display.vim +++ b/src/testdir/test_display.vim @@ -39,7 +39,7 @@ func Test_display_foldcolumn() endfunc func Test_display_foldtext_mbyte() - if !has("folding") || !has("multi_byte") + if !has("folding") return endif call NewWindow(10, 40) diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim index 7b31469632..9a60d018e1 100644 --- a/src/testdir/test_edit.vim +++ b/src/testdir/test_edit.vim @@ -37,12 +37,10 @@ func Test_edit_01() call assert_equal([''], getline(1,'$')) %d " 4) delete a multibyte character - if has("multi_byte") - call setline(1, "\u0401") - call feedkeys("i\<del>\<esc>", 'tnix') - call assert_equal([''], getline(1,'$')) - %d - endif + call setline(1, "\u0401") + call feedkeys("i\<del>\<esc>", 'tnix') + call assert_equal([''], getline(1,'$')) + %d " 5.1) delete linebreak with 'bs' option containing eol let _bs=&bs set bs=eol @@ -440,7 +438,7 @@ endfunc func Test_edit_CTRL_() " disabled for Windows builds, why? - if !has("multi_byte") || !has("rightleft") || has("win32") + if !has("rightleft") || has("win32") return endif let _encoding=&encoding @@ -608,15 +606,14 @@ func Test_edit_CTRL_K() endtry call delete('Xdictionary.txt') - if has("multi_byte") - call test_override("char_avail", 1) - set showcmd - %d - call feedkeys("A\<c-k>a:\<esc>", 'tnix') - call assert_equal(['ä'], getline(1, '$')) - call test_override("char_avail", 0) - set noshowcmd - endif + call test_override("char_avail", 1) + set showcmd + %d + call feedkeys("A\<c-k>a:\<esc>", 'tnix') + call assert_equal(['ä'], getline(1, '$')) + call test_override("char_avail", 0) + set noshowcmd + bw! endfunc diff --git a/src/testdir/test_erasebackword.vim b/src/testdir/test_erasebackword.vim index 098d6edfcb..9522ec2cd6 100644 --- a/src/testdir/test_erasebackword.vim +++ b/src/testdir/test_erasebackword.vim @@ -1,10 +1,5 @@ func Test_erasebackword() - if !has('multi_byte') - return - endif - - set encoding=utf-8 enew exe "normal o wwwこんにちわ世界ワールドvim \<C-W>" @@ -21,5 +16,4 @@ func Test_erasebackword() call assert_equal('', getline('.')) enew! - set encoding& endfunc diff --git a/src/testdir/test_expr_utf8.vim b/src/testdir/test_expr_utf8.vim index 1737a9f745..fad725d2e5 100644 --- a/src/testdir/test_expr_utf8.vim +++ b/src/testdir/test_expr_utf8.vim @@ -1,7 +1,4 @@ " Tests for expressions using utf-8. -if !has('multi_byte') - finish -endif func Test_strgetchar() call assert_equal(char2nr('á'), strgetchar('áxb', 0)) diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim index d942d07687..3d8104817d 100644 --- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -106,11 +106,9 @@ func Test_strwidth() call assert_equal(4, strwidth(1234)) call assert_equal(5, strwidth(-1234)) - if has('multi_byte') - call assert_equal(2, strwidth('😉')) - call assert_equal(17, strwidth('Eĥoŝanĝo ĉiuĵaŭde')) - call assert_equal((aw == 'single') ? 6 : 7, strwidth('Straße')) - endif + call assert_equal(2, strwidth('😉')) + call assert_equal(17, strwidth('Eĥoŝanĝo ĉiuĵaŭde')) + call assert_equal((aw == 'single') ? 6 : 7, strwidth('Straße')) call assert_fails('call strwidth({->0})', 'E729:') call assert_fails('call strwidth([])', 'E730:') @@ -277,10 +275,8 @@ func Test_strpart() call assert_equal('fg', strpart('abcdefg', 5, 4)) call assert_equal('defg', strpart('abcdefg', 3)) - if has('multi_byte') - call assert_equal('lép', strpart('éléphant', 2, 4)) - call assert_equal('léphant', strpart('éléphant', 2)) - endif + call assert_equal('lép', strpart('éléphant', 2, 4)) + call assert_equal('léphant', strpart('éléphant', 2)) endfunc func Test_tolower() @@ -290,10 +286,6 @@ func Test_tolower() call assert_equal(' !"#$%&''()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~', \ tolower(' !"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~')) - if !has('multi_byte') - return - endif - " Test with a few uppercase diacritics. call assert_equal("aàáâãäåāăąǎǟǡả", tolower("AÀÁÂÃÄÅĀĂĄǍǞǠẢ")) call assert_equal("bḃḇ", tolower("BḂḆ")) @@ -368,10 +360,6 @@ func Test_toupper() call assert_equal(' !"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~', \ toupper(' !"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~')) - if !has('multi_byte') - return - endif - " Test with a few lowercase diacritics. call assert_equal("AÀÁÂÃÄÅĀĂĄǍǞǠẢ", toupper("aàáâãäåāăąǎǟǡả")) call assert_equal("BḂḆ", toupper("bḃḇ")) diff --git a/src/testdir/test_ga.vim b/src/testdir/test_ga.vim index 6a7cba28f0..ea3d211aeb 100644 --- a/src/testdir/test_ga.vim +++ b/src/testdir/test_ga.vim @@ -21,10 +21,6 @@ func Test_ga_command() call assert_equal("\n<e> 101, Hex 65, Octal 145", Do_ga('e')) - if !has('multi_byte') - return - endif - " Test a few multi-bytes characters. call assert_equal("\n<é> 233, Hex 00e9, Oct 351, Digr e'", Do_ga('é')) call assert_equal("\n<ẻ> 7867, Hex 1ebb, Oct 17273, Digr e2", Do_ga('ẻ')) diff --git a/src/testdir/test_iminsert.vim b/src/testdir/test_iminsert.vim index 142aec0bac..1a8e4c8a14 100644 --- a/src/testdir/test_iminsert.vim +++ b/ |