Mercurial > vim
view runtime/keymap/hebrew.vim @ 13511:8db9449b5c79 v8.0.1629
patch 8.0.1629: Mac: getpagesize() is deprecated
commit https://github.com/vim/vim/commit/62b7f6a139a19eb6c79eb428c66a7118e9741b5d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 22 21:44:07 2018 +0100
patch 8.0.1629: Mac: getpagesize() is deprecated
Problem: Mac: getpagesize() is deprecated.
Solution: Use sysconf() instead. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/2741)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 22 Mar 2018 21:45:06 +0100 |
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/hebrew_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrew_cp1255.vim else source <sfile>:p:h/hebrew_iso-8859-8.vim endif