view runtime/keymap/hebrew.vim @ 21180:dde4c2e84f5c v8.2.1141

patch 8.2.1141: Vim9: return type of filter() is any Commit: https://github.com/vim/vim/commit/0d94ad69586972e7522ec6ca1441a517af2ade7a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 5 20:16:41 2020 +0200 patch 8.2.1141: Vim9: return type of filter() is any Problem: Vim9: return type of filter() is any. Solution: Use type of the argument.
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Jul 2020 20:30:06 +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