Mercurial > vim
view runtime/keymap/hebrewp.vim @ 9493:9225961006a4 v7.4.2027
commit https://github.com/vim/vim/commit/4c06815c44dfeaafdad25dfcc40f60860096a900
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 11 23:15:25 2016 +0200
patch 7.4.2027
Problem: Can't build with +eval but without +menu.
Solution: Add #ifdef. (John Marriott)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 11 Jul 2016 23:30:06 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-8' else let encoding = 'cp1255' endif endif if encoding == 'utf-8' source <sfile>:p:h/hebrewp_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrewp_cp1255.vim else source <sfile>:p:h/hebrewp_iso-8859-8.vim endif