view runtime/keymap/hebrew.vim @ 20828:db18625d8134 v8.2.0966

patch 8.2.0966: 'shortmess' flag "n" not used in two places Commit: https://github.com/vim/vim/commit/722e505d1a55dfde5ab62241d10da91d2e10c3c1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 12 22:31:00 2020 +0200 patch 8.2.0966: 'shortmess' flag "n" not used in two places Problem: 'shortmess' flag "n" not used in two places. Solution: Make use of the "n" flag consistent. (Nick Jensen, closes https://github.com/vim/vim/issues/6245, closes #6244)
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jun 2020 22:45: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/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