view runtime/keymap/slovak.vim @ 25891:58b1c9d96ec6 v8.2.3479

patch 8.2.3479: crash when calling job_start with an invalid argument Commit: https://github.com/vim/vim/commit/7c25a7c0a129300d0632e5b99ccefdca9bf3ffa2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 5 19:19:35 2021 +0100 patch 8.2.3479: crash when calling job_start with an invalid argument Problem: Crash when calling job_start with an invalid argument. (Virginia Senioria) Solution: Clear the first item in argv. (closes #8957)
author Bram Moolenaar <Bram@vim.org>
date Tue, 05 Oct 2021 20:30:04 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

let encoding = &enc
if encoding == 'latin1'
    if has("unix")
	let encoding = 'iso-8859-2'
    else
	let encoding = 'cp1250'
    endif
endif

if encoding == 'utf-8'
	source <sfile>:p:h/slovak_utf-8.vim
elseif encoding == 'cp1250'
	source <sfile>:p:h/slovak_cp1250.vim
else
	source <sfile>:p:h/slovak_iso-8859-2.vim
endif