view runtime/keymap/serbian.vim @ 18926:50355c55519f v8.2.0024

patch 8.2.0024: filetype Rego not recognized Commit: https://github.com/vim/vim/commit/a4ce82fe2e990eb9eaabf6ad400e2a74cce50ce6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 19 15:57:42 2019 +0100 patch 8.2.0024: filetype Rego not recognized Problem: Filetype Rego not recognized. Solution: Add *.rego. (Matt Dunford, closes https://github.com/vim/vim/issues/5376)
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Dec 2019 16:00:04 +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