Mercurial > vim
view runtime/lang/menu_zh_cn.gb2312.vim @ 32903:54c01bb98b8e v9.0.1760
patch 9.0.1760: vim9 class problem with new() constructor
Commit: https://github.com/vim/vim/commit/6ac1544e13d78e0deeca1f357d1d73947180171c
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Aug 20 18:20:17 2023 +0200
patch 9.0.1760: vim9 class problem with new() constructor
Problem: vim9 class problem with new() constructor
Solution: Don't allow a return type for the new() class constructor.
closes: #12863
closes: #12040
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 20 Aug 2023 18:30:05 +0200 |
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