view runtime/lang/menu_ru_ru.vim @ 33029:c7591e326ded v9.0.1806

patch 9.0.1806: Vim9: bogus error on export Commit: https://github.com/vim/vim/commit/90c27b28032ea2b42718f8933f877a8bca2821ef Author: LemonBoy <thatlemon@gmail.com> Date: Sun Aug 27 19:28:15 2023 +0200 patch 9.0.1806: Vim9: bogus error on export Problem: Vim9: bogus error on export Solution: Don't error out when the export command is not executed closes: #12912 closes: #12930 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: LemonBoy <thatlemon@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2023 19:45:02 +0200
parents 172f80704b05
children
line wrap: on
line source

" Menu Translations:	Russian

if ('utf-8' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.utf-8.vim')
    source <sfile>:p:h/menu_ru_ru.utf-8.vim
elseif ('cp1251' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.cp1251.vim')
    source <sfile>:p:h/menu_ru_ru.cp1251.vim
" elseif ('cp866' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.cp866.vim')
"    source <sfile>:p:h/menu_ru_ru.cp866.vim
elseif ('koi8-r' ==? &enc) && filereadable(expand('<sfile>:p:h') . '/menu_ru_ru.koi8-r.vim')
    source <sfile>:p:h/menu_ru_ru.koi8-r.vim
else
    echomsg 'Could not find the menu file matching the current encoding'
endif