view runtime/keymap/serbian.vim @ 16503:17f5563d1285 v8.1.1255

patch 8.1.1255: building desktop files fails on FreeBSD commit https://github.com/vim/vim/commit/12e91862c14a1af44b537d478e8a5021893044fe Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 3 21:20:03 2019 +0200 patch 8.1.1255: building desktop files fails on FreeBSD Problem: Building desktop files fails on FreeBSD. (Adam Weinberger) Solution: Avoid using non-portable construct in Makefile. (closes https://github.com/vim/vim/issues/4332)
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 May 2019 21:30: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/serbian_utf-8.vim
elseif encoding == 'cp1250'
	source <sfile>:p:h/serbian_cp1250.vim
elseif encoding == 'cp1251'
	source <sfile>:p:h/serbian_cp1251.vim
elseif encoding == 'iso-8859-2'
	source <sfile>:p:h/serbian_iso-8859-2.vim
else
	source <sfile>:p:h/serbian_iso-8859-5.vim
endif