view runtime/keymap/hebrew.vim @ 35522:a75efb3ef1b5 v9.1.0522

patch 9.1.0522: Vim9: string(object) hangs for recursive references Commit: https://github.com/vim/vim/commit/05ff4e42fb5aeaf7f7ef7965e44ddfa2d4d2baf3 Author: Ernie Rael <errael@raelity.com> Date: Thu Jul 4 16:50:11 2024 +0200 patch 9.1.0522: Vim9: string(object) hangs for recursive references Problem: Vim9: string(object) hangs for recursive references Solution: Handle recursive objects specifically, add a hang test and a compare test (Ernie Rael) fixes: #15080 closes: #15082 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 04 Jul 2024 17:00:04 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

let encoding = &enc
if encoding == 'latin1'
    if has("unix")
	let encoding = 'iso-8859-8'
    else
	let encoding = 'cp1255'
    endif
endif

if encoding == 'utf-8'
	source <sfile>:p:h/hebrew_utf-8.vim
elseif encoding == 'cp1255'
	source <sfile>:p:h/hebrew_cp1255.vim
else
	source <sfile>:p:h/hebrew_iso-8859-8.vim
endif