view runtime/keymap/hebrewp.vim @ 17356:4fe44a3b732f v8.1.1677

patch 8.1.1677: tests get stuck when running into an existing swapfile commit https://github.com/vim/vim/commit/b073da8929ae0c03c403197197ed6b57f0f3d3be Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 13 14:47:26 2019 +0200 patch 8.1.1677: tests get stuck when running into an existing swapfile Problem: Tests get stuck when running into an existing swapfile. Solution: Set v:swapchoice to "q" and report an error. (Daniel Hahler, closes #4644)
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Jul 2019 15:00: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/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