annotate runtime/keymap/slovak.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 |
|
rev |
line source |
7
|
1 let encoding = &enc
|
|
2 if encoding == 'latin1'
|
|
3 if has("unix")
|
|
4 let encoding = 'iso-8859-2'
|
|
5 else
|
|
6 let encoding = 'cp1250'
|
|
7 endif
|
|
8 endif
|
|
9
|
|
10 if encoding == 'utf-8'
|
|
11 source <sfile>:p:h/slovak_utf-8.vim
|
|
12 elseif encoding == 'cp1250'
|
|
13 source <sfile>:p:h/slovak_cp1250.vim
|
|
14 else
|
|
15 source <sfile>:p:h/slovak_iso-8859-2.vim
|
|
16 endif
|