view runtime/keymap/hebrew.vim @ 20585:0b55c9a14ea1 v8.2.0846

patch 8.2.0846: build failure with small features Commit: https://github.com/vim/vim/commit/d5c2c7763d73b91efd64a49da8221f9955debdd5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 16:17:33 2020 +0200 patch 8.2.0846: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 16:30: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/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