view runtime/lang/menu_zh_cn.gb2312.vim @ 24075:c5e396fb0ebe v8.2.2579

patch 8.2.2579: Vim9: crash in garbagecollect after for loop Commit: https://github.com/vim/vim/commit/d00a7fb81aff367c5dd5d86fb3883f1e7a58fed5 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 8 20:47:14 2021 +0100 patch 8.2.2579: Vim9: crash in garbagecollect after for loop Problem: Vim9: crash in garbagecollect after for loop. Solution: Do not set a reference in script item when the name was cleared. (closes #7935)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Mar 2021 21:00: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