view runtime/keymap/hebrewp.vim @ 8991:42e85487c0f9 v7.4.1781

commit https://github.com/vim/vim/commit/da5b3dcf06a3af5b398450258be32b0416451a9b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 23 15:19:02 2016 +0200 patch 7.4.1781 Problem: synIDattr() does not respect 'guicolors'. Solution: Change the conditition for the mode. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sat, 23 Apr 2016 15: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/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