view runtime/keymap/serbian.vim @ 26976:1435891c3fd1 v8.2.4017

patch 8.2.4017: gcc warns for misleading indent in Athena menu code Commit: https://github.com/vim/vim/commit/a33737b6d80f5461c1c6c4c96b5bc4964a737927 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Thu Jan 6 12:35:31 2022 +0000 patch 8.2.4017: gcc warns for misleading indent in Athena menu code Problem: Gcc warns for misleading indent in Athena menu code. Solution: Add curlies around the two statements. (Dominique Pell?, closes #9480)
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jan 2022 13:45:03 +0100
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