view runtime/keymap/hebrewp.vim @ 8688:7ec1aa86dc80 v7.4.1633

commit https://github.com/vim/vim/commit/b763eba7ae3540cd879f7c29882a29308f9688db Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 21 22:40:03 2016 +0100 patch 7.4.1633 Problem: If the help tags file was removed "make install" fails. (Tony Mechelynck) Solution: Only try moving the file if it exists.
author Christian Brabandt <cb@256bit.org>
date Mon, 21 Mar 2016 22:45:06 +0100
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