annotate runtime/keymap/hebrewp.vim @ 22182:4aa525b44ff2
v8.2.1640
patch 8.2.1640: Amiga: missing header for getgrgid()
Commit: https://github.com/vim/vim/commit/f842cd9e285afb9d86c6f9bff400e5e576f873c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 9 13:01:27 2020 +0200
patch 8.2.1640: Amiga: missing header for getgrgid()
Problem: Amiga: missing header for getgrgid().
Solution: Add the grp.h header. (Ola S?der, closes https://github.com/vim/vim/issues/6906)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 09 Sep 2020 13:15:04 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 let encoding = &enc
|
|
2 if encoding == 'latin1'
|
|
3 if has("unix")
|
|
4 let encoding = 'iso-8859-8'
|
|
5 else
|
|
6 let encoding = 'cp1255'
|
|
7 endif
|
|
8 endif
|
|
9
|
|
10 if encoding == 'utf-8'
|
|
11 source <sfile>:p:h/hebrewp_utf-8.vim
|
|
12 elseif encoding == 'cp1255'
|
|
13 source <sfile>:p:h/hebrewp_cp1255.vim
|
|
14 else
|
|
15 source <sfile>:p:h/hebrewp_iso-8859-8.vim
|
|
16 endif
|