view runtime/keymap/hebrewp.vim @ 32625:dce7b700c746 v9.0.1644

patch 9.0.1644: not all filetype file name matches are tested Commit: https://github.com/vim/vim/commit/bd087ae8f07f026bbd179911830027ff92f42c01 Author: smjonas <jonas.strittmatter@gmx.de> Date: Thu Jun 22 12:41:19 2023 +0100 patch 9.0.1644: not all filetype file name matches are tested Problem: Not all filetype file name matches are tested. Solution: Add more file names to test with. (Jonas Strittmatter, closes #12569)
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Jun 2023 13:45:03 +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