view runtime/keymap/slovak.vim @ 12557:a75fea44fb77 v8.0.1157

patch 8.0.1157: compiler warning on MS-Windows commit https://github.com/vim/vim/commit/9cf39cc57f63f57b4a335cd25371eb456824f049 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 27 21:46:19 2017 +0200 patch 8.0.1157: compiler warning on MS-Windows Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Yasuhiro Matsomoto)
author Christian Brabandt <cb@256bit.org>
date Wed, 27 Sep 2017 22:00:05 +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