Mercurial > vim
view runtime/lang/menu_zh_cn.gb2312.vim @ 30992:c207a462320a v9.0.0831
patch 9.0.0831: compiler warning for redefining HAVE_DUP
Commit: https://github.com/vim/vim/commit/6c3d3e69047438ff5b7f58d44fe66af9e2c4212b
Author: ichizok <gclient.gaap@gmail.com>
Date: Fri Nov 4 22:38:11 2022 +0000
patch 9.0.0831: compiler warning for redefining HAVE_DUP
Problem: Compiler warning for redefining HAVE_DUP.
Solution: Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/11484)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Nov 2022 23:45:04 +0100 |
parents | 8ac85adee561 |
children |
line wrap: on
line source
" Menu Translations: Simplified Chinese " Maintainer: Shun Bai <baishunde@gmail.com> " Previous Maintainer: Yuheng Xie <elephant@linux.net.cn> " Last Change: 2019-09-09 " This causes trouble for a broken iconv (symptom: last character is always " ??). Without this it works fine anyway, because gbk/cp936 is a superset of " gb2312. (suggested by Edward L. Fox) " scriptencoding gb2312 " As mentioned above, gbk/cp936 is a superset of (and backward compatible with) " gb2312, then source the translation encoded in cp936 should be ok. -- Shun source <sfile>:p:h/menu_zh_cn.cp936.vim