view runtime/keymap/hebrewp.vim @ 28775:7fd3a9f05037 v8.2.4912

patch 8.2.4912: using execute() to define a lambda doesn't work Commit: https://github.com/vim/vim/commit/a7583c42cd6b64fd276a5d7bb0db5ce7bfafa730 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 7 21:14:05 2022 +0100 patch 8.2.4912: using execute() to define a lambda doesn't work Problem: Using execute() to define a lambda doesn't work. (Ernie Rael) Solution: Put the getline function in evalarg. (closes https://github.com/vim/vim/issues/10375)
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 May 2022 22:15:03 +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/hebrewp_utf-8.vim
elseif encoding == 'cp1255'
	source <sfile>:p:h/hebrewp_cp1255.vim
else
	source <sfile>:p:h/hebrewp_iso-8859-8.vim
endif