view runtime/keymap/croatian.vim @ 19973:9f5758ee0b10 v8.2.0542

patch 8.2.0542: no test for E386 Commit: https://github.com/vim/vim/commit/8832a3457831707286dd2d9252ba14a5f9fd4c60 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 11 18:36:38 2020 +0200 patch 8.2.0542: no test for E386 Problem: No test for E386. Solution: Add a test. (Dominique Pelle, closes https://github.com/vim/vim/issues/5911)
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Apr 2020 18:45:03 +0200
parents 18ee39301b82
children
line wrap: on
line source

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

if s:encoding == 'utf-8'
	source <sfile>:p:h/croatian_utf-8.vim
elseif s:encoding == 'cp1250'
	source <sfile>:p:h/croatian_cp1250.vim
else
	source <sfile>:p:h/croatian_iso-8859-2.vim
endif