view runtime/keymap/croatian.vim @ 35695:2b7f171af1e1 v9.1.0585

patch 9.1.0585: tests: test_cpoptions leaves swapfiles around Commit: https://github.com/vim/vim/commit/bb5d27dc79187ff3bd51734946a4c8418989a218 Author: Christian Brabandt <cb@256bit.org> Date: Sun Jul 14 16:03:41 2024 +0200 patch 9.1.0585: tests: test_cpoptions leaves swapfiles around Problem: tests: test_cpoptions leaves swapfiles around Solution: Use :bw! instead of :close! Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Jul 2024 08:13:41 +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