view runtime/keymap/hebrewp.vim @ 20693:f342bdc79295 v8.2.0900

patch 8.2.0900: function list test fails on MS-Windows Commit: https://github.com/vim/vim/commit/9155825b2428ef6bf654204a534b033a6879c90d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 4 17:19:05 2020 +0200 patch 8.2.0900: function list test fails on MS-Windows Problem: Function list test fails on MS-Windows. Solution: Make sure the fileformat is "unix"
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Jun 2020 17: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/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