view runtime/keymap/croatian.vim @ 9967:45098d7f72b6 v7.4.2257

commit https://github.com/vim/vim/commit/9f28953f0c1e3d9fffd49af76503f54eaa279acb Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 26 16:39:03 2016 +0200 patch 7.4.2257 Problem: Coverity complains about not checking for NULL. Solution: Check for out of memory.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Aug 2016 16:45:07 +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