view runtime/keymap/serbian.vim @ 14716:973d3f4d8017 v8.1.0370

patch 8.1.0370: not using internal diff if 'diffopt' is not changed commit https://github.com/vim/vim/commit/274cea35c6d409cfb16862ff24e789b2d3ea3ee3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 12 18:00:12 2018 +0200 patch 8.1.0370: not using internal diff if 'diffopt' is not changed Problem: Not using internal diff if 'diffopt' is not changed. Solution: Correct initialization of diff_flags. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Wed, 12 Sep 2018 18:15:08 +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