view runtime/keymap/hebrew.vim @ 22288:a9ff3e0d6d54 v8.2.1693

patch 8.2.1693: "hi def" does not work for cleared highlight Commit: https://github.com/vim/vim/commit/05eb5b9cae123b138bbd23cc77e50657ece6b4ad Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 16 15:43:21 2020 +0200 patch 8.2.1693: "hi def" does not work for cleared highlight Problem: "hi def" does not work for cleared highlight. Solution: Check the "sg_cleared" flag. (Maxim Kim, closes https://github.com/vim/vim/issues/6956, closes #4405)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Sep 2020 15:45:05 +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