Mercurial > vim
changeset 1768:2a11407a5a8f v7.2.066
updated for version 7.2-066
author | vimboss |
---|---|
date | Tue, 09 Dec 2008 09:57:49 +0000 |
parents | 59edc8429da0 |
children | 649d340f34d3 |
files | runtime/doc/eval.txt src/eval.c src/version.c |
diffstat | 3 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5841,7 +5841,8 @@ mouse_netterm Compiled with support for mouse_pterm Compiled with support for qnx pterm mouse. mouse_sysmouse Compiled with support for sysmouse (*BSD console mouse) mouse_xterm Compiled with support for xterm mouse. -multi_byte Compiled with support for editing Korean et al. +multi_byte Compiled with support for 'encoding' +multi_byte_encoding 'encoding' is set to a multi-byte encoding. multi_byte_ime Compiled with support for IME input method. multi_lang Compiled with support for multiple languages. mzscheme Compiled with MzScheme interface |mzscheme|.
--- a/src/eval.c +++ b/src/eval.c @@ -11842,6 +11842,10 @@ f_has(argvars, rettv) n = has_patch(atoi((char *)name + 5)); else if (STRICMP(name, "vim_starting") == 0) n = (starting != 0); +#ifdef FEAT_MBYTE + else if (STRICMP(name, "multi_byte_encoding") == 0) + n = has_mbyte; +#endif #if defined(FEAT_BEVAL) && defined(FEAT_GUI_W32) else if (STRICMP(name, "balloon_multiline") == 0) n = multiline_balloon_available();