view runtime/keymap/slovak.vim @ 13511:8db9449b5c79 v8.0.1629

patch 8.0.1629: Mac: getpagesize() is deprecated commit https://github.com/vim/vim/commit/62b7f6a139a19eb6c79eb428c66a7118e9741b5d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 22 21:44:07 2018 +0100 patch 8.0.1629: Mac: getpagesize() is deprecated Problem: Mac: getpagesize() is deprecated. Solution: Use sysconf() instead. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/2741)
author Christian Brabandt <cb@256bit.org>
date Thu, 22 Mar 2018 21:45:06 +0100
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