view runtime/keymap/hebrewp.vim @ 12688:a6a935b3270e v8.0.1222

patch 8.0.1222: test functions interfere with each other commit https://github.com/vim/vim/commit/ce11de87e26e1420703242f8e07b4fd69c4032ba Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 26 22:00:00 2017 +0200 patch 8.0.1222: test functions interfere with each other Problem: Test functions interfere with each other. Solution: Cleanup tab pages, windows and buffers. Reset option.
author Christian Brabandt <cb@256bit.org>
date Thu, 26 Oct 2017 22:15: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/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